diff options
Diffstat (limited to 'zsh/path.zsh')
| -rw-r--r-- | zsh/path.zsh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/zsh/path.zsh b/zsh/path.zsh deleted file mode 100644 index ef41549..0000000 --- a/zsh/path.zsh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Add directories to the PATH and prevent to add the same directory multiple times upon shell reload. -add_to_path() { - if [[ -d "$1" ]] && [[ ":$PATH:" != *":$1:"* ]]; then - export PATH="$1:$PATH" - fi -} - -# Add ghq to PATH -add_to_path "$GOPATH/bin" -add_to_path "/Library/Frameworks/Firebird.framework/Resources/bin" - |
