Last active
December 2, 2019 23:09
-
-
Save cakoose/3baf6628be53b1d32e40fc39dea9348e to your computer and use it in GitHub Desktop.
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
setopt histignoredups | |
# Prompt | |
source "/usr/local/etc/bash_completion.d/git-prompt.sh" | |
GIT_PS1_SHOWDIRTYSTATE=1 | |
GIT_PS1_SHOWSTASHSTATE=1 | |
GIT_PS1_SHOWUNTRACKEDFILES=1 | |
precmd() { __git_ps1 $'\e[0;32m%n@%m\e[0m:\e[0;34m%~\e[0m' $'\n\$ ' ' [%s]' } | |
# Command completion | |
autoload -Uz compinit && compinit | |
autoload -Uz bashcompinit && bashcompinit | |
zstyle ':completion:*:*:git:*' script ~/.zsh/git-completion.bash | |
zstyle ':completion:*' menu select | |
fpath=(~/.zsh $fpath) | |
setopt noautomenu | |
setopt nomenucomplete | |
source /usr/local/bin/arcanist/resources/shell/bash-completion | |
# PATH | |
eval "$(pyenv init -)" | |
eval "$(nodenv init -)" | |
#source "$HOME/h/node/env-8.15.0/bin/activate" | |
PATH="/usr/local/mysql/bin:$PATH" | |
PATH="$HOME/bin:$PATH" | |
PATH="$HOME/.cargo/bin:$PATH" | |
PATH="/usr/local/bin/arcanist/bin:$PATH" | |
export EDITOR=vim | |
export VISUAL=vim | |
export PAGER=less | |
# Aliases | |
u() { cd .. } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment