aboutsummaryrefslogtreecommitdiffstats
path: root/path.zsh
diff options
context:
space:
mode:
authorSimen A. W. Olsen <so@bjerk.io>2024-07-27 17:22:37 +0200
committerSimen A. W. Olsen <so@bjerk.io>2024-07-27 17:22:37 +0200
commit0cb9f782ddcb2c54993f1e3df511fb32289bcd64 (patch)
treeb4c1a176bb7b3cfdec710403b92a3ca7cfeba8e3 /path.zsh
parentaffc30e13aa0e2053d70386663e5e0d5520e504a (diff)
downloaddotfiles-0cb9f782ddcb2c54993f1e3df511fb32289bcd64.tar.gz
dotfiles-0cb9f782ddcb2c54993f1e3df511fb32289bcd64.zip
chore: rename zsh files
Diffstat (limited to 'path.zsh')
-rw-r--r--path.zsh12
1 files changed, 0 insertions, 12 deletions
diff --git a/path.zsh b/path.zsh
deleted file mode 100644
index febb59e..0000000
--- a/path.zsh
+++ /dev/null
@@ -1,12 +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"
-