install funcation has been added

This commit is contained in:
Sameer Rahmani 2018-05-24 14:25:36 +01:00
parent 258181096a
commit 8af2c7297d
2 changed files with 7 additions and 0 deletions

3
lib/install.sh Normal file
View File

@ -0,0 +1,3 @@
setup_myzsh() {
rm -f ~/.zcompdump; compinit
}

4
my.zsh
View File

@ -41,6 +41,7 @@ setopt HIST_IGNORE_ALL_DUPS
myzsh=${MYZSH:-$HOME}
fpath=($myzsh/lib/functions/{*.zsh,*.zwc}(N) $fpath)
fpath=($myzsh/zsh-completions/src $fpath)
# Autoload functions that have the executable bit on.
@ -71,3 +72,6 @@ source $current_path/zsh-autosuggestions/autosuggestions.zsh
# Load ZAW
source $current_path/zaw/zaw.zsh
# Load zsh-completions
source $current_path/zsh-completions/zsh-completions.plugin.zsh