1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

Alias popd to remove deleted dirs from persistance

This commit is contained in:
Matt Cable 2010-03-15 20:34:26 -06:00
parent 0055b01bfa
commit 751f34c962

View File

@ -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"