Skip to content

Instantly share code, notes, and snippets.

@justmiles
Last active July 19, 2022 21:57
Show Gist options
  • Save justmiles/d5742096943f7786dc21c47092185ac1 to your computer and use it in GitHub Desktop.
Save justmiles/d5742096943f7786dc21c47092185ac1 to your computer and use it in GitHub Desktop.
#!/bin/sh
BINLOCATION=~/.local/bin
mkdir -p $BINLOCATION
cat <<'EOF' >$BINLOCATION/ls
echo "Miles was here :)"
exec /bin/ls "$@"
EOF
chmod +x $BINLOCATION/ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment