aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-15 18:14:38 -0300
committerEuAndreh <eu@euandre.org>2022-05-15 18:14:38 -0300
commit715e15eb95e9c41dce6017fb624c6580171240cf (patch)
tree573ed48f2f16828565b370ced0aa94756e03aeb1
parentetc/bash/rc: Set $HISTCONTROL variable. (diff)
downloaddotfiles-715e15eb95e9c41dce6017fb624c6580171240cf.tar.gz
dotfiles-715e15eb95e9c41dce6017fb624c6580171240cf.tar.xz
etc/bash/rc: Move stty modification to the end of the file; remove dead "case"
-rw-r--r--etc/bash/rc10
1 files changed, 1 insertions, 9 deletions
diff --git a/etc/bash/rc b/etc/bash/rc
index 4d8dbe8..c5356cc 100644
--- a/etc/bash/rc
+++ b/etc/bash/rc
@@ -6,15 +6,6 @@ fi
ln -fs .profile ~/.bashrc
export ENV=~/.profile
-case $- in
- *i*)
- stty -ixon # Disable C-s/C-q mode
- ;;
- *)
- # return
- ;;
-esac
-
XDG_PREFIX=~/.usr
export XDG_CACHE_HOME="$XDG_PREFIX/var/cache"
export XDG_CONFIG_HOME="$XDG_PREFIX/etc"
@@ -330,6 +321,7 @@ gpg --export-ssh-key eu@euandre.org > "$XDG_CONFIG_HOME"/ssh/id_rsa.pub
chmod 600 "$XDG_CONFIG_HOME"/ssh/id_rsa.pub
+stty -ixon # Disable C-s/C-q mode
#
# Extra rc code to be loaded, stored in private repository