Install: Move most binary files to homebrew

This commit is contained in:
Tony Grosinger 2024-06-04 20:51:09 -07:00
parent 95aca8b3cb
commit 2f346e9396
20 changed files with 19 additions and 32 deletions

26
.bashrc
View File

@ -10,10 +10,6 @@ alias dedsstore="find . -name \".DS_Store\" -delete"
alias c="clear"
alias dps="docker ps -a --format 'table {{.Names}}\t{{.Status}}\t{{.Image}}'"
# Difftastic Config
export DFT_TAB_WIDTH=4
export DFT_BACKGROUND=light
# History
HISTSIZE=50000
HISTFILESIZE=50000
@ -57,12 +53,15 @@ fi
alias tmux="tmux -2"
alias grep="grep --color=auto"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Fix gpg signing
# https://github.com/keybase/keybase-issues/issues/2798
export GPG_TTY=$(tty)
# Golang
export PATH=$PATH:/usr/local/go/bin:${HOME}/go/bin
# NOTE: Go is installed with Homebrew and automatically placed on the path
export PATH=$PATH:${HOME}/go/bin
export TERM="xterm-256color"
export EDITOR=$(which vim)
@ -76,22 +75,7 @@ if [[ -d ${HOME}/bin ]]; then
fi
# fzf
# TODO: Why are these files in so many different places?
if [ -f ~/.fzf.bash ]; then
source ~/.fzf.bash
fi
if [ -f /usr/share/bash-completion/completions/fzf ]; then
source /usr/share/bash-completion/completions/fzf
fi
if [ -f /usr/share/doc/fzf/examples/key-bindings.bash ]; then
source /usr/share/doc/fzf/examples/key-bindings.bash
fi
if [ -f /usr/share/doc/fzf/examples/completion.bash ]; then
source /usr/share/doc/fzf/examples/completion.bash
fi
eval "$(fzf --bash)"
export FZF_DEFAULT_OPTS=" \
--color=bg+:#ccd0da,bg:#eff1f5,spinner:#dc8a78,hl:#d20f39 \

View File

@ -1 +0,0 @@
bat-0.24.0

Binary file not shown.

View File

@ -1 +0,0 @@
delta-0.15.1

Binary file not shown.

View File

@ -1 +0,0 @@
difft-0.38.0

Binary file not shown.

View File

@ -1 +0,0 @@
dive-0.10.0

Binary file not shown.

View File

@ -1 +0,0 @@
eza-0.11.0

Binary file not shown.

View File

@ -1 +0,0 @@
fd-v10.1.0

Binary file not shown.

View File

@ -1 +0,0 @@
gron-0.7.1

Binary file not shown.

View File

@ -1 +0,0 @@
jq-1.7

Binary file not shown.

View File

@ -1 +0,0 @@
lazygit-0.42.0

Binary file not shown.

View File

@ -77,12 +77,24 @@ function performSetup() {
echo "Linking neovim config"
ln -fns ${DOTFILES_DIR}/nvim ~/.config/nvim
echo "Installing homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if [[ "${OSTYPE}" == "darwin"* ]]; then
brew install rsync rga pandoc poppler tesseract tmux ledger
brew install tmux
else
sudo apt install visidata ripgrep
sudo apt install build-essential visidata
fi
brew install \
gcc \
tmux neovim \
eza bat fzf ripgrep fd jq gron \
git lazygit git-delta \
crane dive devcontainer \
go sqlite \
stripe-cli restic
popd > /dev/null
}