Skip to content

Commit

Permalink
Jump up one level when no arguments are passed
Browse files Browse the repository at this point in the history
  • Loading branch information
tedbauer committed Dec 1, 2024
1 parent 33d75a5 commit 4a3305c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ up_completion() {

up() {
if [ $# -eq 0 ]; then
echo "Usage: up <path|path-prefix>"
return 1
cd ..
return 0
fi

target="$1"
Expand Down

0 comments on commit 4a3305c

Please sign in to comment.