From 4565bf0e5b60fa1ce1db83bd5ca2c93857d542ca Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 4 Feb 2025 14:24:25 +0100 Subject: vim: improve quickfix --- .bashrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index c9e8ca3..9fc3c8e 100644 --- a/.bashrc +++ b/.bashrc @@ -18,25 +18,23 @@ 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" +# export GNUTERM='sixelgd enhanced truecolor font "arial,9"' +# OS=${OS:-$(~/bin/os)} # Support different operating system environments case $OS in (arch|alpine) - export GNUTERM='sixelgd enhanced truecolor font "arial,9"' alias ls='ls --color=auto -v' ll='ls -AlFhv' [ "$OS" = arch ] || trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%ps1}\a"' DEBUG ;; (Darwin) - export GNUTERM='sixelgd enhanced truecolor size 1600,1200 font "arial,9"' alias ls='ls -GF' ll='ls -AlGFhv' alias ldd='otool -L' alias ibrew='arch -x86_64 /usr/local/bin/brew' - trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%update_terminal_cwd}\a"' DEBUG ;; (termux) PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin - export GNUTERM='sixelgd enhanced truecolor font "arial,9"' type eza >/dev/null && alias ls='eza' ll='eza -lao --no-user --no-permissions' || alias ls='ls --color=auto -v' ll='ls -AlFhv' ;; -- cgit v1.2.3