mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 08:20:39 +01:00
Alias popd to remove deleted dirs from persistance
This commit is contained in:
@@ -17,3 +17,6 @@ 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"
|
||||||
Reference in New Issue
Block a user