less behaves like cat on small files
This commit is contained in:
parent
66ca4dd1b3
commit
991f86f806
1 changed files with 4 additions and 0 deletions
4
.bashrc
4
.bashrc
|
|
@ -153,6 +153,10 @@ echo "rcp : copy with rsync/ssh"
|
|||
# default editor
|
||||
export EDITOR='gvim'
|
||||
|
||||
# If the output is smaller than the screen height is smaller,
|
||||
# less will just cat it
|
||||
export LESS="-FX"
|
||||
|
||||
# do not permits to recall dangerous commands in bash history
|
||||
export HISTIGNORE='&:[bf]g:exit:*>|*::*rm*-rf*:*rm*-f*'
|
||||
# append history rather than overwrite
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue