From 6bfc37b756ec5e6671c646b5313ad0b092dd8d71 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Wed, 29 Jan 2025 12:04:51 +0100 Subject: fixup --- .bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.bashrc') 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"' -- cgit v1.2.3