Skip to content

Instantly share code, notes, and snippets.

@felipecwb
Created March 1, 2019 14:07
Show Gist options
  • Save felipecwb/ade891114b35b447f65221427c94c096 to your computer and use it in GitHub Desktop.
Save felipecwb/ade891114b35b447f65221427c94c096 to your computer and use it in GitHub Desktop.
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