Last active
March 1, 2017 09:03
-
-
Save optyler/0ed6bbc0e58bba9cad82654db401fd6c to your computer and use it in GitHub Desktop.
Revisions
-
optyler revised this gist
Mar 1, 2017 . 1 changed file with 18 additions and 10 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,24 @@ [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* # Git tweeks git_dir_shell=$(brew --prefix)/etc/bash_completion.d if [ -f $git_dir_shell/git-prompt.sh -a -f $git_dir_shell/git-completion.bash -a -f $git_dir_shell/git-flow-completion.bash ]; then source $git_dir_shell/git-prompt.sh source $git_dir_shell/git-completion.bash source $git_dir_shell/git-flow-completion.bash export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch GIT_PS1_SHOWCOLORHINTS=1 export GIT_PS1_HIDE_IF_PWD_IGNORED=1 export PS1="\[\033[38;5;6m\]\u\[$(tput sgr0)\]\[\033[38;5;3m\]@\[$(tput sgr0)\]\[\033[38;5;6m\]\h\[$(tput sgr0)\]\[\033[38;5;3m\]:\[$(tput sgr0)\]\[\033[38;5;12m\]\W$(__git_ps1 " (%s)")\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;199m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" fi # Colorful prompt for Bash! export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad export PS1="\[\033[38;5;6m\]\u\[$(tput sgr0)\]\[\033[38;5;3m\]@\[$(tput sgr0)\]\[\033[38;5;6m\]\h\[$(tput sgr0)\]\[\033[38;5;3m\]:\[$(tput sgr0)\]\[\033[38;5;12m\]\W\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;199m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" # Bash aliases alias ls='ls -GFh' -
optyler created this gist
Jul 28, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ # Colorful prompt for Bash! export CLICOLOR=1 export PS1='\[\e[0;36m\][\A] \u@\h:\[\e[0m\e[0;32m\]\W\[\e[1;33m\]$(__git_ps1 " (%s)")\[\e[0;37m\] \$\[\e[0m\] ' export LSCOLORS=ExFxBxDxCxegedabagacad source ~/azure.completion.sh # Git tweeks source $(brew --prefix)/git/contrib/completion/git-prompt.sh source $(brew --prefix)/git/contrib/completion/git-completion.bash export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch GIT_PS1_SHOWCOLORHINTS=1 export GIT_PS1_HIDE_IF_PWD_IGNORED=1 # Bash aliases alias ls='ls -GFh' alias ll='ls -l' alias grep='grep --color'