Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
870551e9
Commit
870551e9
authored
Mar 15, 2010
by
Matt Cable
Browse files
Alias popd to remove deleted dirs from persistance
parent
a0a8ba66
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dirspersist.zsh
View file @
870551e9
...
@@ -17,3 +17,6 @@ dirpersistrestore () {
...
@@ -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"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment