Search code examples
gittig

tig configuration : set on tigrc --all as default


In my tig configuration I usually use the command:

tig --all

How can I set this as the default in ~/.tigrc ?


Solution

  • Add to your ~/.tigrc:

    set cmdline-args = --all
    

    I got this from the tigrc documentation found in the tig project: https://github.com/jonas/tig/blob/master/doc/tigrc.5.adoc