chore(zsh): only start TMUX if not in a TTY
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)
|
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)
|
||||||
|
|
||||||
|
if [[ ! $(tty) =~ ^/dev/tty[0-9]*$ ]]; then
|
||||||
ZSH_TMUX_AUTOSTART=true
|
ZSH_TMUX_AUTOSTART=true
|
||||||
|
fi
|
||||||
|
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
||||||
|
|||||||
Reference in New Issue
Block a user