From 1c03d40357f09b832f6f5a74414ccd30ace66014 Mon Sep 17 00:00:00 2001 From: afranco Date: Wed, 4 Sep 2024 15:32:27 +0100 Subject: [PATCH] chore(zsh): remove pure prompt auto pull --- .config/zsh/.zshrc | 1 + .config/zsh/functions.zsh | 4 ++-- .config/zsh/plugins.zsh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) 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