Skip to content

Commit

Permalink
prompt terminal title with dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishnu Atrai committed Oct 11, 2013
1 parent b51d64a commit 0f692db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zsh_profile.d/zprompt.zsh
Expand Up @@ -97,6 +97,11 @@ zle -N zle-keymap-select

function precmd {
$(git status 2> /dev/null >! "/tmp/git-status-$$")
case $TERM in
xterm*)
print -Pn "\e]0; %.\a"
;;
esac
}

_current_ruby() {
Expand Down

0 comments on commit 0f692db

Please sign in to comment.