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
Ohmyzsh
Commits
421a738b
Commit
421a738b
authored
Dec 04, 2012
by
Robby Russell
Browse files
Merge pull request #1273 from ystein/master
Typo in cd-wrapper
parents
3199d2ed
9172b3a8
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/directories.zsh
View file @
421a738b
...
@@ -26,9 +26,9 @@ cd () {
...
@@ -26,9 +26,9 @@ cd () {
elif
[[
"x
$*
"
==
"x...."
]]
;
then
elif
[[
"x
$*
"
==
"x...."
]]
;
then
cd
../../..
cd
../../..
elif
[[
"x
$*
"
==
"x....."
]]
;
then
elif
[[
"x
$*
"
==
"x....."
]]
;
then
cd
../../..
elif
[[
"x
$*
"
==
"x......"
]]
;
then
cd
../../../..
cd
../../../..
elif
[[
"x
$*
"
==
"x......"
]]
;
then
cd
../../../../..
else
else
builtin cd
"
$@
"
builtin cd
"
$@
"
fi
fi
...
...
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