add hostname to lf tab title
This commit is contained in:
parent
a66ef574bc
commit
ffb11aad0f
|
@ -107,7 +107,7 @@ cmd git_branch ${{
|
||||||
|
|
||||||
cmd on-cd &{{
|
cmd on-cd &{{
|
||||||
DIR=$(echo $PWD | sed "s|$HOME|~|")
|
DIR=$(echo $PWD | sed "s|$HOME|~|")
|
||||||
printf "\033]0; $DIR\007" > /dev/tty
|
printf "\033]0;$(hostname): $DIR\007" > /dev/tty
|
||||||
}}
|
}}
|
||||||
on-cd
|
on-cd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue