Skip to content

Commit

Permalink
Fix pkg-edit for space directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Oct 6, 2023
1 parent 37a90da commit 10c5748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pkg-edit
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if test -z "$1"; then
fi
done
else
PKGS="$(_PATHS=1 find.ts $1)"
PKGS="$(_PATHS=1 find.ts $@)"
fi

if test -z "$EDITOR"; then
Expand All @@ -45,7 +45,7 @@ if test -z "$PKGS"; then
exit 1
elif test "$EDITOR" = code; then
# shellcheck disable=2086
exec $EDITOR $PKGX_PANTRY_PATH $PKGS
exec $EDITOR "$PKGX_PANTRY_PATH" $PKGS
# ^^ be more useful
else
# shellcheck disable=2086
Expand Down

0 comments on commit 10c5748

Please sign in to comment.