From 54eac416e146486966bae12c8a0cfd1f36d06dc6 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 26 Apr 2025 16:14:20 +0200 Subject: update --- .bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index e8ee9f0..15e7b58 100644 --- a/.bashrc +++ b/.bashrc @@ -5,7 +5,7 @@ export PAGER=less export EDITOR=vim -export MANPAGER='vim +MANPAGER --not-a-term' +export MANPAGER='vim +MANPAGER --not-a-term -' export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history' export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries export HISTSIZE=100000 # big big history @@ -34,7 +34,6 @@ case $OS in alias ldd='otool -L' alias ibrew='arch -x86_64 /usr/local/bin/brew' trap 'printf "\e]2;%s\a" "$TERM_TAG ${BASH_COMMAND%update_terminal_cwd}"' DEBUG - export MANPAGER='vim +MANPAGER --not-a-term -' ;; (termux) PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin @@ -46,6 +45,8 @@ esac p() { [ -f "$1" -a ! -x "$1" ] && less "$1" || "$@" 2>&1 | less; } export -f p +[ "$OS" = alpine ] && export MANPAGER='vim +MANPAGER --not-a-term' + export LESS=iXFRx4 #export BACKUP=bip:/home/backup/marc@$(hostname -s) -- cgit v1.2.3