870551e960c6cb506fd7cc232a069432dfc72f2c

Author
Matt Cable <wozz@wookie.net>
Committer
Matt Cable <wozz@wookie.net>
Date

Message

Alias popd to remove deleted dirs from persistance

Diff

 1diff --git a/lib/dirspersist.zsh b/lib/dirspersist.zsh
 2index a7c077ae06167ba24fe4db25ed5a735905d95662..8364a879cc47e9c41811d52847497136655d047d 100644
 3--- a/lib/dirspersist.zsh
 4+++ b/lib/dirspersist.zsh
 5@@ -16,4 +16,7 @@ dirpersistrestore () {
 6 
 7 DIRSTACKSIZE=10
 8 setopt autopushd pushdminus pushdsilent pushdtohome pushdignoredups
 9-dirpersistrestore
10+dirpersistrestore
11+
12+# Make popd changes permanent without having to wait for logout
13+alias popd="popd;dirpersiststore"