Improve history handling saving/merging it at each command - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset 5aea8d293c9ab45486eaa368f5b6052a24fdfd96
 (DIR) parent f56398c23a2bd012aade32d4be64687afc6fcbb0
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sun, 30 Sep 2018 10:11:27 
       
       Improve history handling saving/merging it at each command
       
       Diffstat:
        tcshrc |  5 ++++-
        1 files changed, 4 insertions(+), 1 deletions(-)
       ---
       diff -r f56398c23a2b -r 5aea8d293c9a tcshrc
       --- a/tcshrc    Sun Sep 30 04:02:19 2018 +0200
       +++ b/tcshrc    Sun Sep 30 10:11:27 2018 +0200
       @@ -26,7 +26,7 @@
        set prompt2 = "... "
        set promptchars = %#
        set rprompt = "%U%c3%u"
       -set savehist
       +set savehist = (1000000 merge)
        set vimoveback # XXX: experimental!
        
        alias helpcommand '( man -h \!:1 > /dev/tty ) >& /dev/null'
       @@ -91,6 +91,9 @@
        # password-store stuffs
        setenv PASSWORD_STORE_X_SELECTION "primary"
        
       +# special aliases
       +alias precmd "history -S; history -M"
       +
        # alias-es
        alias ag "ag --nocolor"
        alias cal "cal -d 1"