diff --git a/conf.d/forgit.plugin.fish b/conf.d/forgit.plugin.fish index 1129619..18b7f60 100644 --- a/conf.d/forgit.plugin.fish +++ b/conf.d/forgit.plugin.fish @@ -18,6 +18,8 @@ set -g forgit_diff_pager "$FORGIT_DIFF_PAGER" set -g forgit_ignore_pager "$FORGIT_IGNORE_PAGER" set -g forgit_log_format "$FORGIT_LOG_FORMAT" +set -x FORGIT_INSTALL_DIR (dirname (dirname (status -f))) + test -z "$forgit_pager"; and set -g forgit_pager (git config core.pager || echo 'cat') test -z "$forgit_show_pager"; and set -g forgit_show_pager (git config pager.show || echo "$forgit_pager") test -z "$forgit_diff_pager"; and set -g forgit_diff_pager (git config pager.diff || echo "$forgit_pager")