Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous path addition doesn't have a guard statement. It probably spawns value duplicated $PATH such as 'PATH=/a/path:~/.exa/bin:~/.exa/bin:~/.exa/bin' when runs nested zsh. So adds a guard statement to check whether or not the exa bin directory path exists in $PATH. $PATH is exported by default, so no need to re-export explicitly. And $path is a tied variable to $PATH, so we can think as it is exported too.
- Loading branch information