Permalink
Browse files

changed directory fullpath to just current basename

  • Loading branch information...
1 parent dac5364 commit 7d42ee134a598537b2b05cd945103d932317afe8 @JonGretar committed Aug 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 shell
View
2 shell
@@ -41,7 +41,7 @@ function parse_git_branch {
function prompt_func() {
previous_return_value=$?;
# prompt="${TITLEBAR}$BLUE[$RED\w$GREEN$(__git_ps1)$YELLOW$(git_dirty_flag)$BLUE]$COLOR_NONE "
- prompt="${TITLEBAR}${GREEN}\h${BLUE}[${RED}\w${GREEN}$(parse_git_branch)${BLUE}]${COLOR_NONE} "
+ prompt="${TITLEBAR}${GREEN}\h${BLUE}[${RED}\W${GREEN}$(parse_git_branch)${BLUE}]${COLOR_NONE} "
if test $previous_return_value -eq 0
then
PS1="${prompt}➔ "

0 comments on commit 7d42ee1

Please sign in to comment.