summaryrefslogtreecommitdiff
path: root/config/essentials
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-24 12:42:45 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-24 12:42:45 +0200
commit66bec1babd8c2eb437c4ccdcbe2d2d386b1b664b (patch)
tree12490347e0d6de27706ea8b038cf81c556d52811 /config/essentials
parentafbf46a5ae8248a1718e3abe801bc87f88838bae (diff)
parent5e6025db97f182b74bd6648608c3a7a6f01c1701 (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/essentials')
-rw-r--r--config/essentials/zsh/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index ef11748..3f9bd76 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