diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-04-26 16:14:20 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-04-26 16:14:20 +0200 |
| commit | 54eac416e146486966bae12c8a0cfd1f36d06dc6 (patch) | |
| tree | 5dcec2768a00499bb4c931fda41a44bde1ab191c | |
| parent | ab465ab5da9bf42b98e3f63e172fc732f2de6770 (diff) | |
update
| -rw-r--r-- | .bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |
