Search code examples
tig

Tig configuration open in status by default


How I can start tig on status view by default?

I tried with

set cmdline-args = --all status

not working


Solution

  • I'm not sure a default view can be defined this in the settings, at least I didn't find anything related in the tigrc documentation. Personnally I went for the alias solution:

    alias tigs="tig status"
    

    And just launch tig status this way. It's not perfect but it does the job.