diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-08-08 12:52:21 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-08-08 12:52:21 +0100 |
| commit | 18dc33f2795144a4752741eeeef2c7f15678ebb4 (patch) | |
| tree | 5356ff8d7e595060657c1ada9b0cca7dc79dfc33 /dotfiles-darwin | |
| parent | 435dcf55bdbdea3bf6886a742ae4ae32af56ae23 (diff) | |
darwin/zsh: Prefer GNU tar if available
Diffstat (limited to 'dotfiles-darwin')
| -rw-r--r-- | dotfiles-darwin/zsh/profile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles-darwin/zsh/profile b/dotfiles-darwin/zsh/profile new file mode 100644 index 0000000..a97713e --- /dev/null +++ b/dotfiles-darwin/zsh/profile @@ -0,0 +1,8 @@ +# -*- mode: shell-script -*- + +() { + local dir + for dir in /usr/local/opt/gnu-tar/libexec/gnubin; do + [[ -d ${dir} ]] && path=(${dir} ${path}) + done +} |
