From 52c1d87dc4ce813a2505419af0a4a20d04582e29 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 22 Jan 2022 15:35:04 -0500 Subject: stty discard undef on OpenBSD as well --- dot_zshenv | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dot_zshenv') 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 -- cgit v1.2.3