Commit 7d298a30 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Fix pj() function when no project has been specified

parent 7f8851f5
......@@ -15,6 +15,11 @@ pj () {
project=$*
fi
if [[ -z "$project" ]]; then
echo "You have to specify a project name."
return
fi
for basedir ($PROJECT_PATHS); do
if [[ -d "$basedir/$project" ]]; then
$cmd "$basedir/$project"
......
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