diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index fceb744..95f71c3 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -43,6 +43,7 @@ fpath+=$ZDOTDIR/plugins/zsh-completions/src #Prompt fpath+=$ZDOTDIR/prompts/pure autoload -U promptinit; promptinit +PURE_GIT_PULL=0 prompt pure source $ZDOTDIR/functions.zsh diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index 377413b..1590daf 100644 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -20,8 +20,8 @@ function sourceall(){ } -function routevpn(){ - sudo route -n add $1 10.8.0.1 +function routevpn { + sudo route -n add $@ 10.8.0.1 } alias ls="eza --icons -l --sort type" diff --git a/.config/zsh/plugins.zsh b/.config/zsh/plugins.zsh index 5ff8cf3..de8fad3 100644 --- a/.config/zsh/plugins.zsh +++ b/.config/zsh/plugins.zsh @@ -16,6 +16,6 @@ source $ZDOTDIR/plugins/zsh-macos.plugin.zsh source $ZDOTDIR/plugins/zsh-git.plugin.zsh -source $ZDOTDIR/plugins/zsh-sudo.plugins.zsh +source $ZDOTDIR/plugins/zsh-sudo.plugin.zsh -source $ZDOTDIR/plugins/zsh-tmux.plugins.zsh +source $ZDOTDIR/plugins/zsh-tmux/zsh-tmux.plugin.zsh