You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/.zshrc

45 lines
1.1 KiB
Bash

3 years ago
if [ ! -f $HOME/antigen/antigen.zsh ]; then
echo <<EOF
Antigen not installed!
git clone https://github.com/zsh-users/antigen.git ~/antigen
EOF
else
source "$HOME/antigen/antigen.zsh"
4 years ago
antigen use oh-my-zsh
antigen bundle arialdomartini/oh-my-git
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style
antigen apply
3 years ago
fi
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
if [ ! -f ~/.fzf.zsh ]; then
echo <<EOF
FZF Not installed!
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
EOF
else
source ~/.fzf.zsh
fi
4 years ago
3 years ago
if ! type rvm &> /dev/null; then
echo <<EOF
RVM Not installed. You should probably do this:
4 years ago
3 years ago
mkdir -p ~/.rvm/src && cd ~/.rvm/src && rm -rf ./rvm && \
git clone --depth 1 https://github.com/rvm/rvm.git && \
cd rvm && ./install
EOF
else
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
fi
4 years ago