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 characters
startup_message off | |
defscrollback 10000 | |
altscreen on | |
bindkey -k F2 kill #f12 | |
bindkey -k F1 detach #f11 | |
hardstatus alwayslastline | |
hardstatus string "%{.K.}%D %M %d %C:%s%a | %-Lw%{.K.}%{= rW}%50>%n* %t%{-}%+Lw%<" | |
shell -bash |
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 characters
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "("${ref#refs/heads/}")" | |
} | |
# PS1 prompt color vars | |
export PROMPT_DIRTRIM='2' #only works with bash 4.x | |
RED="\[\033[1;31m\]" | |
YELLOW="\[\033[0;33m\]" |
NewerOlder