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
18f7ca57
Commit
18f7ca57
authored
May 08, 2018
by
Francisco Zuviría
Browse files
Adhere to coding style outlined in wiki
parent
7bb7ce62
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/dirhistory/dirhistory.plugin.zsh
View file @
18f7ca57
...
...
@@ -144,12 +144,12 @@ bindkey "\eO3C" dirhistory_zle_dirhistory_future
# Move up in hierarchy
function
dirhistory_up
()
{
cd
..
cd
..
||
return
1
}
# Move down in hierarchy
function
dirhistory_down
()
{
cd
"
`
find
.
-mindepth
1
-maxdepth
1
-type
d |
sort
-n
|
head
-n
1
`
"
cd
"
$(
find
.
-mindepth
1
-maxdepth
1
-type
d |
sort
-n
|
head
-n
1
)
"
||
return
1
}
...
...
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