summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-04-26 16:14:20 +0200
committerMarc Vertes <mvertes@free.fr>2025-04-26 16:14:20 +0200
commit54eac416e146486966bae12c8a0cfd1f36d06dc6 (patch)
tree5dcec2768a00499bb4c931fda41a44bde1ab191c
parentab465ab5da9bf42b98e3f63e172fc732f2de6770 (diff)
update
-rw-r--r--.bashrc5
1 files changed, 3 insertions, 2 deletions
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)