aboutsummaryrefslogtreecommitdiff
path: root/dot_zshenv
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-01-22 15:35:04 -0500
committerRyan Kavanagh <rak@rak.ac>2022-01-22 15:35:04 -0500
commit52c1d87dc4ce813a2505419af0a4a20d04582e29 (patch)
tree43d4e7bf6b64f2f1c397eb1efb79ff29f390ac6d /dot_zshenv
parentXConsole and XTerm resources (diff)
stty discard undef on OpenBSD as well
Diffstat (limited to '')
-rw-r--r--dot_zshenv8
1 files changed, 5 insertions, 3 deletions
diff --git a/dot_zshenv b/dot_zshenv
index 4d24e85..38d3e4b 100644
--- a/dot_zshenv
+++ b/dot_zshenv
@@ -2,9 +2,11 @@
export GPG_TTY="${TTY}"
# Otherwise we cannot use ^o as a keybinding
-if [[ `uname` == "Darwin" ]]; then
- stty discard undef
-fi
+case `uname` in
+ Darwin|OpenBSD)
+ stty discard undef
+ ;;
+esac
aklogs () {
for r in ANDREW.CMU.EDU CLUB.CC.CMU.EDU; do