Created
April 10, 2020 17:16
-
-
Save delihiros/c677f305d5ac6dc2ea62d1748a93b49f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
source ~/.zplug/init.zsh | |
zplug 'zplug/zplug', hook-build:'zplug --self-manage' | |
zplug "mafredri/zsh-async" | |
# Theme | |
zplug "sindresorhus/pure" | |
# Utils | |
zplug "zsh-users/zsh-history-substring-search" | |
zplug "zsh-users/zsh-syntax-highlighting" | |
zplug "zsh-users/zsh-autosuggestions" | |
zplug "zsh-users/zsh-completions" | |
zplug "chrissicool/zsh-256color" | |
zplug "junegunn/fzf", as:command, use:bin/fzf-tmux | |
zplug "b4b4r07/enhancd", use:enhancd.sh | |
if ! zplug check --verbose; then | |
printf "update/install zplug plugins? [y/N]: " | |
if read -q; then | |
echo; zplug install | |
fi | |
fi | |
zplug load | |
# paths | |
export PATH=$HOME/local/bin:$PATH | |
export GOPATH=$HOME/local/go | |
export PATH=$GOPATH:$PATH | |
export PATH=$HOME/.cargo/bin:$PATH | |
export PATH=$HOME/.cabal/bin:$PATH | |
export PATH=$HOME/Library/Android/sdk/platform-tools:$PATH | |
export PATH=$HOME/.dotnet/tools/:$PATH | |
export DEVKITPRO=/opt/devkitpro | |
export DEVKITARM=${DEVKITPRO}/devkitARM | |
export DEVKITPPC=${DEVKITPRO}/devkitPPC | |
export PATH=${DEVKITPRO}/tools/bin:$PATH | |
# aliases | |
alias vi='vim' | |
alias scan='nmap -sV -sC -A -F' | |
alias gitignore='gibo dump' | |
alias network-perf='iperf -c' | |
alias play-video='CACA_DRIVER=ncurses mplayer -vo caca -quiet' | |
alias love='/Applications/love.app/Contents/MacOS/love' | |
# misc | |
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
[[ -d ${HOME}/.bashmatic ]] || { | |
git clone https://github.com/kigster/bashmatic.git ~/.bashmatic | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment