From 535778b3645f41c1a1358402e396f120ebf91c18 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 10 Sep 2021 00:35:02 +0300 Subject: fix(zsh): suppress errors when sourcing --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 76ed964..0f1f804 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -31,8 +31,8 @@ alias tw=timew alias s="sudo systemctl" # FZF -source /usr/share/fzf/key-bindings.zsh -source /usr/share/fzf/completion.zsh +source /usr/share/fzf/key-bindings.zsh 2> /dev/null +source /usr/share/fzf/completion.zsh 2> /dev/null # Node version manager export NVM_DIR="$HOME/.nvm" @@ -40,4 +40,4 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion # Syntax highlighting, must be last -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2> /dev/null -- cgit v1.2.3