Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
18f7ca57
Commit
18f7ca57
authored
6 years ago
by
Francisco Zuviría
Browse files
Options
Download
Email Patches
Plain Diff
Adhere to coding style outlined in wiki
parent
7bb7ce62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/dirhistory/dirhistory.plugin.zsh
+2
-2
plugins/dirhistory/dirhistory.plugin.zsh
with
2 additions
and
2 deletions
+2
-2
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
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help