diff options
-rwxr-xr-x | git-prompt.sh | 7 | ||||
-rw-r--r-- | index.txt | 18 |
2 files changed, 20 insertions, 5 deletions
diff --git a/git-prompt.sh b/git-prompt.sh index ce09210..6adf581 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -270,8 +270,11 @@ set_shell_title() { #then host=${HOSTNAME} #host=`hostname --short` - [[ $upcase_hostname = "on" ]] && host=`echo ${host%$default_host} | tr a-z A-Z` - #host=`echo ${host} | tr a-z A-Z` + if [[ $upcase_hostname = "on" ]]; then + host=`echo ${host%$default_host} | tr a-z A-Z` + else + host=${host%$default_host} + fi host_color=${host}_host_color host_color=${!host_color} @@ -140,7 +140,7 @@ to any of above locations and customize as needed. colors. -== DEPENDENCY +== Dependencies Most of not optional dependencies are probably already installed on your computer. @@ -157,13 +157,25 @@ Most of not optional dependencies are probably already installed on your compute * hg (optional) -== TODO +== Todo * VCS exclude dir list * new mail (howto at: `http://kikhome.net/?p=11` ) * ctrl-Z subshell indicator * VIM module needs to be moved out of GIT module -* make module (to show generated, stale files) * How detect current merge? (current method through .git/MERGE_HEAD not always works) + include::../volnitsky.com/project/howto-submit-patch.txt[] + +== Authors +- Leonid Volnitsky (original author) <leonid@volnitsky.com> http://volnitsky.com +- Niklas Hofer (CWD truncation) <niklas+dev@lanpartei.de> http://github.com/niklas/ +- Lee Nussbaum (HG support) lee.nussbaum@gmail.com http://github.com/wln +- Albert Vernon http://xenoclub.wordpress + + +[bibliography] +.References +- [[[1]]] 'Bash Prompt HOWTO', http://tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html + |