Remove duplicats
This commit is contained in:
parent
2553fc2d3e
commit
52e0fd7d24
@ -1,21 +0,0 @@
|
||||
#!/bin/zsh
|
||||
function zsh_add_config() {
|
||||
[ -f "$ZSH_CONFIG/$1" ] && ! [ -L "$ZSH_CONFIG/$1" ] && source "$ZSH_CONFIG/$1"
|
||||
}
|
||||
|
||||
function zsh_add_plugin() {
|
||||
PLUGIN_NAME=$(echo $1 | cut -d"/" -f2)
|
||||
if ! [ -d "$ZSH_CONFIG/plugins/$PLUGIN_NAME" ]; then
|
||||
git clone "https://github.com/$1.git" "$ZSH_CONFIG/plugins/$PLUGIN_NAME"
|
||||
fi
|
||||
zsh_add_config "plugins/$PLUGIN_NAME/$PLUGIN_NAME.plugin.zsh"
|
||||
zsh_add_config "plugins/$PLUGIN_NAME/$PLUGIN_NAME.zsh"
|
||||
}
|
||||
|
||||
function zsh_fpath_plugin() {
|
||||
PLUGIN_NAME=$(echo $1 | cut -d"/" -f2)
|
||||
if ! [ -d "$ZSH_CONFIG/plugins/$PLUGIN_NAME" ]; then
|
||||
git clone "https://github.com/$1.git" "$ZSH_CONFIG/plugins/$PLUGIN_NAME"
|
||||
fi
|
||||
fpath+=($ZSH_CONFIG/plugins/$PLUGIN_NAME)
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
WORDCHARS='~!#$%^&*(){}[]<>?.+;-'
|
||||
MOTION_WORDCHARS='~!#$%^&*(){}[]<>?.+;-/'
|
||||
|
||||
''{back,for}ward-word() WORDCHARS=$MOTION_WORDCHARS zle .$WIDGET
|
||||
|
||||
bindkey '^[[1;3C' forward-word
|
||||
bindkey '^[[1;3D' backward-word
|
||||
bindkey '^[^?' backward-kill-word
|
@ -1 +0,0 @@
|
||||
Subproject commit 3b2606db2e7eb6f05c67b229b5e3c68a1c3947a6
|
@ -1 +0,0 @@
|
||||
Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8
|
@ -1 +0,0 @@
|
||||
Subproject commit caa749d030d22168445c4cb97befd406d2828db0
|
Loading…
Reference in New Issue
Block a user