summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/profile12
1 files changed, 7 insertions, 5 deletions
diff --git a/zsh/profile b/zsh/profile
index 97f766c..536502d 100644
--- a/zsh/profile
+++ b/zsh/profile
@@ -7,11 +7,13 @@
done
}
-# Make C-q and C-s work in zsh.
-#
-# See https://en.wikipedia.org/wiki/Software_flow_control for gory
-# details.
-stty -ixon
+if [[ -n ${TERM} ]]; then
+ # Make C-q and C-s work in zsh.
+ #
+ # See https://en.wikipedia.org/wiki/Software_flow_control for gory
+ # details.
+ stty -ixon
+fi
source_if_exists dotfiles-${UNAME}/zsh/profile
source_if_exists dotfiles-${DOMAIN}/zsh/profile