Skip to content

Commit 5349ca6

Browse files
committed
Use better path manipulation, update plugin file name
@nunico mentioned a better way to massage `$PATH`, use it instead. Rename iterm2-shell-integration.plugin.zsh -> iTerm2-shell-integration.plugin.zsh per @nunico's comments about issues with zimfw and potentially other plugin managers. Signed-off-by: Joe Block <[email protected]>
1 parent 3533d93 commit 5349ca6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Automagically add the utilities directory to $PATH
22

33
# Add utilities to our path
4-
PLUGIN_BIN="$(dirname $0)/utilities"
5-
export PATH=${PATH}:${PLUGIN_BIN}
4+
path+=("${0:h}/utilities")
65

76
# And source the helper functions, too.
87
source "${0:h}/shell_integration/zsh"

0 commit comments

Comments
 (0)