Created
March 1, 2019 14:07
-
-
Save felipecwb/ade891114b35b447f65221427c94c096 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
export EDITOR=vim | |
export VISUAL=vim | |
alias vim=nvim | |
alias grep='grep --color' | |
alias ls='ls --color' | |
alias ll='ls -lsh' | |
alias lla='ll -a' | |
[ -s "$HOME/.nvm/nvm.sh" ] && source "$HOME/.nvm/nvm.sh" | |
[ -s "$HOME/.nvm/bash_completion" ] && source "$HOME/.nvm/bash_completion" | |
[ -f /usr/share/git/completion/git-prompt.sh ] && source /usr/share/git/completion/git-prompt.sh | |
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
# PS1 | |
export PS1='`if [ $? = 0 ];then echo "\[\033[1;32m\]✔";else echo "\[\033[1;31m\]✘";fi` \[\033[1;30m\]\u \[\033[1;34m\]\w\[\033[0;35m\]$(__git_ps1) \[\033[1;31m\]>\[\033[0m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment