Stay in same dir when using terminal app
This commit is contained in:
3
zshrc
3
zshrc
@@ -49,6 +49,9 @@ expand-or-complete-with-dots(){
|
|||||||
zle -N expand-or-complete-with-dots
|
zle -N expand-or-complete-with-dots
|
||||||
bindkey "Î" expand-or-complete-with-dots
|
bindkey "Î" expand-or-complete-with-dots
|
||||||
|
|
||||||
|
precmd () {print -Pn "\e]2; %~/ \a"}
|
||||||
|
preexec () {print -Pn "\e]2; %~/ \a"}
|
||||||
|
|
||||||
insert_sudo () {
|
insert_sudo () {
|
||||||
zle beginning-of-line; zle -U "sudo "
|
zle beginning-of-line; zle -U "sudo "
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user