2021-12-12 09:30:54 -05:00
|
|
|
if [ ! -f ~/.fzf.zsh ]; then
|
2021-12-13 10:09:20 -05:00
|
|
|
cat<<EOF
|
2021-12-12 09:30:54 -05:00
|
|
|
FZF Not installed!
|
|
|
|
|
|
|
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
|
|
|
~/.fzf/install
|
|
|
|
EOF
|
|
|
|
else
|
|
|
|
source ~/.fzf.zsh
|
|
|
|
fi
|
2021-09-26 20:30:29 -04:00
|
|
|
|
2022-05-11 10:02:10 -04:00
|
|
|
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
|
2021-09-26 20:30:29 -04:00
|
|
|
|
2022-01-16 12:37:12 -05:00
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
export PATH
|
2022-05-11 10:02:10 -04:00
|
|
|
|
|
|
|
if [ ! -f $HOME/antigen/antigen.zsh ]; then
|
|
|
|
cat <<EOF
|
|
|
|
Antigen not installed!
|
|
|
|
|
|
|
|
git clone https://github.com/zsh-users/antigen.git ~/antigen
|
|
|
|
EOF
|
|
|
|
else
|
|
|
|
source "$HOME/antigen/antigen.zsh"
|
|
|
|
|
|
|
|
antigen bundle zsh-users/zsh-autosuggestions
|
|
|
|
antigen use oh-my-zsh
|
|
|
|
antigen bundle arialdomartini/oh-my-git
|
|
|
|
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style
|
|
|
|
antigen apply
|
|
|
|
fi
|
|
|
|
|
|
|
|
. $HOME/.asdf/asdf.sh
|
|
|
|
|
|
|
|
# append completions to fpath
|
|
|
|
fpath=(${ASDF_DIR}/completions $fpath)
|
|
|
|
# initialise completions with ZSH's compinit
|
|
|
|
autoload -Uz compinit && compinit
|
|
|
|
|
2022-07-07 11:19:10 -04:00
|
|
|
[[ /usr/local/bin/kubectl ]] && source <(kubectl completion zsh)
|
|
|
|
[[ /Users/rahsheen.porter/.asdf/shims/kubectl ]] && source <(kubectl completion zsh)
|
|
|
|
[[ /Users/rahsheen.porter/.asdf/shims/kubectl ]] && source <(kubectl completion zsh)
|
|
|
|
[[ /Users/rahsheen.porter/.asdf/shims/kubectl ]] && source <(kubectl completion zsh)
|
|
|
|
[[ /Users/rahsheen.porter/.asdf/shims/kubectl ]] && source <(kubectl completion zsh)
|