Visidata: Possible to specify non-standard .visidatarc/.visidata file location?

Created on 29 Dec 2018  路  3Comments  路  Source: saulpw/visidata

It might be neat/useful to be able to specify, via avd command-line flag, the location of the preferred .visidatarc file. Based on this code search, I don't see a way to do it, but it's possible I'm overlooking something obvious: https://github.com/saulpw/visidata/search?utf8=%E2%9C%93&q=loadConfigFile&type=

The same idea, I suppose, for plugins 鈥斅爄.e., if you want to use a custom directory instead of ~/.visidata.

My specific use-case: I'd like to customize my personal VisiData experience via ~/.visidatarc and ~/.visidata, while also being able to use "vanilla" VisiData for https://jsvine.github.io/intro-to-visidata/

Thanks, as always, for continuing to improve this already-fantastic piece of software!

Most helpful comment

Yes, good idea! I like --visidatarc (it was my first thought too), but maybe --config would be more command-line-like?

All 3 comments

Ah, it looks like specifying the plugins dir is possible, via --visidata-dir: https://github.com/saulpw/visidata/blob/80f186a37eb09fb6a07f036da2c0e6302b368aed/bin/vd#L49

So maybe the corresponding command-line option for specifying an alternate .visidatarc could be --visidatarc or maybe --visidatarc-path?

Yes, good idea! I like --visidatarc (it was my first thought too), but maybe --config would be more command-line-like?

Awesome, and thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

polm picture polm  路  4Comments

geekscrapy picture geekscrapy  路  3Comments

wurosh picture wurosh  路  3Comments

frosencrantz picture frosencrantz  路  4Comments

paulklemm picture paulklemm  路  4Comments