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