mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
Alias popd to remove deleted dirs from persistance
This commit is contained in:
1 parent
a0a8ba666b
commit
870551e960
1 file changed
+3
@@ -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