[zsh] Don't source Pywal when in SSH session
This commit is contained in:
parent
1a4a0bbe18
commit
74b7c89c25
1 changed files with 4 additions and 7 deletions
|
@ -53,13 +53,10 @@ autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
||||||
zle -N up-line-or-beginning-search
|
zle -N up-line-or-beginning-search
|
||||||
zle -N down-line-or-beginning-search
|
zle -N down-line-or-beginning-search
|
||||||
|
|
||||||
# Import colorscheme from 'wal' asynchronously
|
if [[ -z $SSH_TTY ]]; then
|
||||||
# & # Run the process in the background.
|
|
||||||
# # ( ) # Hide shell job control messages.
|
|
||||||
# # Not supported in the "fish" shell.
|
|
||||||
(cat ~/.cache/wal/sequences &)
|
(cat ~/.cache/wal/sequences &)
|
||||||
# # To add support for TTYs this line can be optionally added.
|
# source ~/.cache/wal/colors-tty.sh
|
||||||
source ~/.cache/wal/colors-tty.sh
|
fi
|
||||||
|
|
||||||
# create a zkbd compatible hash;
|
# create a zkbd compatible hash;
|
||||||
# to add other keys to this hash, see: man 5 terminfo
|
# to add other keys to this hash, see: man 5 terminfo
|
||||||
|
|
Loading…
Reference in a new issue