summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 80bb8a2..feb522d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
# ~/.bashrc
# If not running interactively, don't do anything
-# [[ $- != *i* ]] && return
+[[ $- != *i* ]] && return
export PAGER=less
export EDITOR=vim
@@ -18,6 +18,8 @@ stty -ixon # disable Ctrl-S
# Save and reload the history after each command finishes
#export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
+OS=${OS:-$(~/bin/os)}
+
case $OS in
(arch|alpine)
export GNUTERM='sixelgd enhanced truecolor font "arial,9"'