mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Adhere to coding style outlined in wiki
This commit is contained in:
parent
7bb7ce62d3
commit
18f7ca577a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue