Permalink
Browse files

[#41] Use basename $PWD in shell prompt

  • Loading branch information...
1 parent eda87b1 commit 420897073a8b74009329ada5e428e3662c81816c @croaky croaky committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 zlogin
View
@@ -17,7 +17,7 @@ export CLICOLOR=1
setopt prompt_subst
# prompt
-export PS1='$(git_prompt_info)[${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%m:"}%{$fg_bold[blue]%}%~%{$reset_color%}] '
+export PS1='$(git_prompt_info)[${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%m:"}%{$fg_bold[blue]%}%1~%{$reset_color%}] '
# load thoughtbot/dotfiles scripts
export PATH="$HOME/.bin:$PATH"

0 comments on commit 4208970

Please sign in to comment.