added omni auto-loader to zsh if using alacritty
This commit is contained in:
parent
a7c0ec2280
commit
7fdb33edb5
5
zsh/rc
5
zsh/rc
@ -43,4 +43,9 @@ WELCOME
|
||||
echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \
|
||||
|| export PATH="$HOME/.local/bin:$PATH"
|
||||
#####################################################################
|
||||
|
||||
[[ $TERM =~ alacritty ]] \
|
||||
&& [[ $(xdotool search --classname Alacritty 2>/dev/null | wc -l) -eq 1 ]] \
|
||||
&& scwrypts tmux omni
|
||||
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user