fix zsh plugin
This commit is contained in:
parent
dd3b8ea59e
commit
e7c60b1ab9
@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
install_if_not_exists() {
|
||||
echo $PATH
|
||||
local path="${HOME}/.config/zsh/plugins/${1}"
|
||||
if [ ! -d "${path}" ]; then
|
||||
git clone "https://github.com/${1}" "${path}"
|
||||
|
||||
@ -18,10 +18,7 @@ _sod() {
|
||||
}
|
||||
|
||||
|
||||
echo $PATH
|
||||
_so "/etc/profile"
|
||||
source "/etc/profile"
|
||||
echo $PATH
|
||||
source "${ZDOTDIR}/options"
|
||||
source "${ZDOTDIR}/completion"
|
||||
source "${ZDOTDIR}/history"
|
||||
@ -30,7 +27,6 @@ source "${ZDOTDIR}/other"
|
||||
source "${ZDOTDIR}/aliases"
|
||||
source "${ZDOTDIR}/functions"
|
||||
|
||||
echo $PATH
|
||||
_so "${ZDOTDIR}/hosts/${HOST}"
|
||||
|
||||
source "${ZDOTDIR}/plugin"
|
||||
@ -42,4 +38,3 @@ source "${ZDOTDIR}/mappings"
|
||||
source "${ZDOTDIR}/accept_line"
|
||||
|
||||
_sod "${ZDOTDIR}/zshrc.d"
|
||||
echo $PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user