Skip to content

Instantly share code, notes, and snippets.

@viktor-evdokimov
Last active April 5, 2018 23:26
Show Gist options
  • Save viktor-evdokimov/38f6a1d8e88d968c8f2be34d677715b3 to your computer and use it in GitHub Desktop.
Save viktor-evdokimov/38f6a1d8e88d968c8f2be34d677715b3 to your computer and use it in GitHub Desktop.
return which shell is used

return which shell is used

echo $0 -zsh

# return which shell is used
> echo $0
-zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment