Last active
June 24, 2019 11:54
-
-
Save terry90/717d9c0b49dd305261a5b7c1d29d07a2 to your computer and use it in GitHub Desktop.
Zsh RC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="spaceship" | |
plugins=( | |
git | |
zsh-syntax-highlighting | |
zsh-autosuggestions | |
zsh-completions | |
) | |
autoload -U compinit && compinit | |
source $ZSH/oh-my-zsh.sh | |
export EDITOR=emacs | |
export PATH=$PATH:~/.yarn/bin | |
alias gnet='git log --pretty=format:"%C(yellow)%h %ar%C(auto)%d%Creset %s %Cblue%cn" --graph --all' | |
alias ls='lsd' | |
alias l='ls -l' | |
alias la='ls -a' | |
alias lla='ls -la' | |
alias lt='ls --tree' | |
alias cat='bat --decorations=never' | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | |
export PATH="$PATH:$HOME/.rvm/bin" | |
source $HOME/.cargo/env | |
export RUSTFLAGS="-C target-cpu=native" | |
export CARGO_INCREMENTAL=1 | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
if [ $commands[kubectl] ]; then | |
source <(kubectl completion zsh) | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment