summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-01-29 12:04:51 +0100
committerMarc Vertes <mvertes@free.fr>2025-01-29 12:04:51 +0100
commit6bfc37b756ec5e6671c646b5313ad0b092dd8d71 (patch)
treec4187e5e86747ac4940a128266a386702c144e5e /.bashrc
parent64063207b5f418bb87b86f1a47f423e4036e8561 (diff)
fixup
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"'