Replace dirname with zsh expansion modifier

- [x] No leading whitespace
- [x] No external command
- [x] More cryptic
This commit is contained in:
ivan tkachenko 2020-10-04 19:44:24 +03:00
parent 14fdf5c96e
commit 87e4586efd
No known key found for this signature in database
GPG key ID: 4D197017E61437CF

View file

@ -3,4 +3,4 @@
# Make git-open easy to install and keep up to date if you're using a
# ZSH framework like Zgen or Antigen
export PATH=$(dirname $0):${PATH}
export PATH=${0:A:h}:${PATH}