Created
June 13, 2022 07:09
-
-
Save Pnoexz/5a0f539d983ece6c9683dccb61bf7e70 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
# set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/bin" ] ; then | |
export PATH="$HOME/bin:$PATH" | |
fi | |
if [ -d "$HOME/.composer" ] ; then | |
export PATH="$HOME/.composer/vendor/bin:$PATH" | |
fi | |
if [ -d "$HOME/.config/composer" ] ; then | |
export PATH="$HOME/.config/composer/vendor/bin:$PATH" | |
fi | |
if [ -d "$HOME/.yarn/bin" ] ; then | |
export PATH="$HOME/.yarn/bin:$PATH" | |
fi | |
# Git stuff (make sure you have git-contrib installed) | |
export GIT_PS1_SHOWSTASHSTATE=1 | |
# export PS1="\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[31m\]\$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/') \[\033[01;34m\]\$\[\033[00m\] " | |
# export PS1="\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[31m\]\$(type -t __git_ps1 >/dev/null && __git_ps1 '[\[\e[;32m\]%s\[\e[m\]]')\\$ " | |
export PS1="\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[31m\]\$(type -t __git_ps1 >/dev/null && __git_ps1 ' (%s)')\[\033[00m\]\$ " | |
export HISTTIMEFORMAT="%y-%m-%d %T " | |
export GREP_COLORS="sl=49;97:cx=40;37:mt=48;5;186;30:fn=49;38;5;197:ln=49;38;5;154:bn=49;38;5;141:se=49;38;5;81" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment