kickstart.nvim/.zshrc

60 lines
1.5 KiB
Bash
Raw Normal View History

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"
alias vimconfig="GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME nvim"
2022-11-23 10:46:56 -05:00
alias asdfg="setxkbmap -option ctrl:nocaps dvorak"
alias aoeu="setxkbmap -option ctrl:nocaps us"
2021-09-26 20:30:29 -04:00
2023-08-06 15:13:29 -04:00
setopt no_share_history
unsetopt share_history
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
2022-11-23 10:46:56 -05:00
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
PATH=$PATH:$ANDROID_SDK_ROOT/emulator
PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
2022-01-16 12:37:12 -05:00
export PATH
2022-05-11 10:02:10 -04:00
2023-04-30 11:53:48 -04:00
export EDITOR="nvim"
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
# 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)
2024-02-25 18:38:48 -05:00
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)