nsxiv-extra/scripts/nsxiv-env
Berke Kocaoğlu c9e21cde18
scripts/nsxiv-env: fix author order
2021-11-27 13:38:49 +03:00
..
README.md scripts/nsxiv-env: fix author order 2021-11-27 13:38:49 +03:00
nsxiv-env nsxiv-env: Make more robust 2021-10-27 18:40:05 -07:00

README.md

nsxiv-env

This script will run nsxiv using arguments extracted from the environment variables NSXIV_OPTS. CLI arguments takes priority over NSXIV_OPTS.

You can edit NSXIV_OPTS in the script or export NSXIV_OPTS in your shell profile (e.g ~/.bash_profile or ~/.zprofile) to change the default arguments passed to nsxiv.

One thing to note is that if you rename this script to nsxiv and put in in your PATH before nsxiv (the actual binary) you will have to use the entire path to call nsxiv, otherwise the script will go into an infinite recursion.

-exec nsxiv $NSXIV_OPTS "$@"
+exec /path/to/nsxiv $NSXIV_OPTS "$@"

Authors