Commit 18f7ca57 authored by Francisco Zuviría's avatar Francisco Zuviría
Browse files

Adhere to coding style outlined in wiki

parent 7bb7ce62
...@@ -144,12 +144,12 @@ bindkey "\eO3C" dirhistory_zle_dirhistory_future ...@@ -144,12 +144,12 @@ bindkey "\eO3C" dirhistory_zle_dirhistory_future
# Move up in hierarchy # Move up in hierarchy
function dirhistory_up() { function dirhistory_up() {
cd .. cd .. || return 1
} }
# Move down in hierarchy # Move down in hierarchy
function dirhistory_down() { 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
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment