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
774c4eca
Commit
774c4eca
authored
Aug 21, 2016
by
Marc Cornellà
Browse files
Revert "Fix pj() function when no project has been specified"
This reverts commit
7d298a30
.
parent
24ac1aa3
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/pj/pj.plugin.zsh
View file @
774c4eca
...
@@ -14,11 +14,6 @@ pj () {
...
@@ -14,11 +14,6 @@ pj () {
project
=
$*
project
=
$*
fi
fi
if
[[
-z
"
$project
"
]]
;
then
echo
"You have to specify a project name."
return
fi
for
basedir
(
$PROJECT_PATHS
)
;
do
for
basedir
(
$PROJECT_PATHS
)
;
do
if
[[
-d
"
$basedir
/
$project
"
]]
;
then
if
[[
-d
"
$basedir
/
$project
"
]]
;
then
$cmd
"
$basedir
/
$project
"
$cmd
"
$basedir
/
$project
"
...
...
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