-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Description
I am installing git-open in zsh using
zinit light paulirish/git-open
For some reason (could be related to my system) I am getting a duplicate of the git-open path in my $PATH variable..
A simple way to solve this is to modify git-open.plugin.zsh as per below:
# This plugin is MIT licensed to match the git-open license.
#
# Make git-open easy to install and keep up to date if you're using a
# ZSH framework like Zgen or Antigen
# export PATH=$(dirname $0):${PATH}
# avoid adding the path twice..
local NEW_PATH=$(dirname $0)
if [[ ":$PATH:" != *":$NEW_PATH:"* ]]; then
export PATH="$NEW_PATH:$PATH"
fi
Would you be so kind and modify the main repo to solve my issue?
Metadata
Metadata
Assignees
Labels
No labels