Commit 6b434710 authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

zsh: display PWD when waiting for instructions

parent 5eb82b01
......@@ -34,7 +34,7 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
function precmd_set_terminal_title() {
local title="${2}"
local title="$(echo ${PWD} | sed "s|$HOME|~|g")"
echo -en "\e]2;${title}\a"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment