Browse code

Alias popd to remove deleted dirs from persistance

Matt Cable authored on 16/03/2010 at 02:34:26
Showing 1 changed files
... ...
@@ -16,4 +16,7 @@ dirpersistrestore () {
16 16
 
17 17
 DIRSTACKSIZE=10
18 18
 setopt autopushd pushdminus pushdsilent pushdtohome pushdignoredups
19
-dirpersistrestore
20 19
\ No newline at end of file
20
+dirpersistrestore
21
+
22
+# Make popd changes permanent without having to wait for logout
23
+alias popd="popd;dirpersiststore"
21 24
\ No newline at end of file