aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-17 03:08:14 -0400
committertdro <tdro@users.noreply.github.com>2020-05-17 03:08:14 -0400
commit5447a1e61d506d3daba44744ca94cf560d49c1ab (patch)
treed703744fde97c4a1da3ce43427942cc30515318c /.bashrc
parentccead0afc04d8a510ffb9fd72010214069151b2c (diff)
downloaddotfiles-5447a1e61d506d3daba44744ca94cf560d49c1ab.tar.gz
dotfiles-5447a1e61d506d3daba44744ca94cf560d49c1ab.tar.bz2
dotfiles-5447a1e61d506d3daba44744ca94cf560d49c1ab.zip
.bashrc: Interactive test change
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 0c8c5df..4ea9b27 100644
--- a/.bashrc
+++ b/.bashrc
@@ -4,7 +4,7 @@
export BASH_PROFILE=loaded && . "$HOME/.bash_profile";
# bail if not interactive
-[[ $- != *i* ]] && return;
+echo $- | grep -q "i" || return;
# cd using directory name
shopt -s autocd;