Skip to content

Commit 696ef3f

Browse files
kRHYME7rubiin
authored andcommitted
proper test operator for terminal.zsh
1 parent 83d3526 commit 696ef3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configs/.config/zsh/conf.d/00-hyde.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ if ! . "$ZDOTDIR/conf.d/hyde/env.zsh"; then
1515
return 1
1616
fi
1717

18-
if [ -t 1 ] && [ -f "$ZDOTDIR/conf.d/hyde/terminal.zsh" ]; then
18+
if [[ $- == *i* ]] && [ -f "$ZDOTDIR/conf.d/hyde/terminal.zsh" ]; then
1919
. "$ZDOTDIR/conf.d/hyde/terminal.zsh" || echo "Error: Could not source $ZDOTDIR/conf.d/hyde/terminal.zsh"
2020
fi

0 commit comments

Comments
 (0)