mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059
.
This commit is contained in:
parent
24ac1aa348
commit
774c4eca6f
1 changed files with 0 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue