fix(install-script): rm .zfunc from targets
This commit is contained in:
parent
4bdace2f9b
commit
d292cb322c
@ -3,7 +3,7 @@ so () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_if_not_exists() {
|
install_if_not_exists() {
|
||||||
local path="$HOME/.subzsh/plugins/$1"
|
local path="$HOME/.config/zsh/plugins/$1"
|
||||||
if [ ! -d "$path" ]; then
|
if [ ! -d "$path" ]; then
|
||||||
/usr/bin/git clone "https://github.com/$1" "$path"
|
/usr/bin/git clone "https://github.com/$1" "$path"
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
install
2
install
@ -10,7 +10,7 @@ readonly SUB="$(pwd)/home/user"
|
|||||||
|
|
||||||
declare -A TARGETS=(
|
declare -A TARGETS=(
|
||||||
["bash"]=".config/bash .bashrc .profile"
|
["bash"]=".config/bash .bashrc .profile"
|
||||||
["zsh"]="%bash .config/zsh .zshrc .zprofile .zfunc .zlogout .inputrc"
|
["zsh"]="%bash .config/zsh .zshrc .zprofile .zlogout .inputrc"
|
||||||
["tmux"]=".tmux.conf"
|
["tmux"]=".tmux.conf"
|
||||||
["alacritty"]=".config/alacritty"
|
["alacritty"]=".config/alacritty"
|
||||||
["nvim"]=".config/nvim .local/bin/vim_askpass_helper .local/bin/vim_askpass_helper_python"
|
["nvim"]=".config/nvim .local/bin/vim_askpass_helper .local/bin/vim_askpass_helper_python"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user