aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-30 19:11:03 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-30 21:33:22 +0300
commit4516b146acaf1692488a9e9d795e5c07092f867a (patch)
tree2b4be1711d2cb323f5d9f6e134cab3574bcd3f9f /dotfiles/.config/zsh
parent516ad4df7a0bd72ffa5fa46bf85d93a2a87d4e53 (diff)
downloadswayrice-4516b146acaf1692488a9e9d795e5c07092f867a.tar.gz
swayrice-4516b146acaf1692488a9e9d795e5c07092f867a.zip
Colorschemes, terminal emulator config
* Easy way to change color scheme from dark to light on the fly * Sound alert for bell in alacritty
Diffstat (limited to 'dotfiles/.config/zsh')
-rw-r--r--dotfiles/.config/zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc
index 717a34c..66e7880 100644
--- a/dotfiles/.config/zsh/.zshrc
+++ b/dotfiles/.config/zsh/.zshrc
@@ -63,5 +63,7 @@ zle -N zle-keymap-select
[ -f "$HOME/.config/zsh/shortcuts" ] && . "$HOME/.config/zsh/shortcuts"
+[ -f "$HOME/.cache/colorscheme" ] && trap "source $HOME/.cache/colorscheme" DEBUG
+
[ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] &&
. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh