Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yoramvandevelde/b8afc4334911cfb84c65e15a92c0e187 to your computer and use it in GitHub Desktop.
Save yoramvandevelde/b8afc4334911cfb84c65e15a92c0e187 to your computer and use it in GitHub Desktop.
Test for expanding pwd within an alias
yoram _ /tmp => alias aliaspwd='echo "`pwd`"'
yoram _ /tmp => aliaspwd
/tmp
yoram _ /tmp => cd ..
yoram _ / => aliaspwd
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment