mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Alias popd to remove deleted dirs from persistance
This commit is contained in:
parent
a0a8ba666b
commit
870551e960
1 changed files with 4 additions and 1 deletions
|
|
@ -16,4 +16,7 @@ dirpersistrestore () {
|
||||||
|
|
||||||
DIRSTACKSIZE=10
|
DIRSTACKSIZE=10
|
||||||
setopt autopushd pushdminus pushdsilent pushdtohome pushdignoredups
|
setopt autopushd pushdminus pushdsilent pushdtohome pushdignoredups
|
||||||
dirpersistrestore
|
dirpersistrestore
|
||||||
|
|
||||||
|
# Make popd changes permanent without having to wait for logout
|
||||||
|
alias popd="popd;dirpersiststore"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue