diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 01:27:42 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 01:28:21 +0200 |
commit | 5e6025db97f182b74bd6648608c3a7a6f01c1701 (patch) | |
tree | f3857a1094a171ee467aaf9ff950d4e094c391b5 /config/essentials/zsh | |
parent | de4132479edf6bd3b347b6b18dc1577e658d6481 (diff) |
removed error messages on grep
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r-- | config/essentials/zsh/.zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 6fc601c..0850b94 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -28,7 +28,8 @@ zle -N add-surround surround zle -N change-surround surround compinit -if grep -qi "debian\|ubuntu" /etc/os-release; then +if grep -qi "debian\|ubuntu" /etc/os-release 2> /dev/null +then sfiles=( /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh @@ -36,8 +37,7 @@ if grep -qi "debian\|ubuntu" /etc/os-release; then else sfiles=( /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh - /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - ) + /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh) fi sfiles+=( ~/.config/zsh/functions.zsh |