Skip to content

Commit

Permalink
Allow mash pkgx/ls
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 24, 2024
1 parent 9b04739 commit fc1bb7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mash
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ run() {
SCRIPTNAME=$1
shift

# github won’t give us `github.com/pkgx` because they are meanies
if [[ $SCRIPTNAME == u/pkgx/* ]]; then
SCRIPTNAME="${SCRIPTNAME/pkgx/pkgxdev}"
fi

if [ "$(uname)" = Darwin ]; then
CACHE="${XDG_CACHE_HOME:-$HOME/Library/Caches}/mash/$SCRIPTNAME"
else
Expand Down

0 comments on commit fc1bb7b

Please sign in to comment.