diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 12:42:45 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 12:42:45 +0200 |
commit | 66bec1babd8c2eb437c4ccdcbe2d2d386b1b664b (patch) | |
tree | 12490347e0d6de27706ea8b038cf81c556d52811 /config/essentials | |
parent | afbf46a5ae8248a1718e3abe801bc87f88838bae (diff) | |
parent | 5e6025db97f182b74bd6648608c3a7a6f01c1701 (diff) |
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/essentials')
-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 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 |