fish: conf.d/setup: Set ripgrep config file path
ripgrep will not look in any predetermined directory for a config file automatically. Instead, we need to set the RIPGREP_CONFIG_PATH environment variable to the file path of our config file.
This commit is contained in:
parent
9e0a966191
commit
1b5a8f5edb
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
|
||||||
set -gx PASSWORD_STORE_GENERATED_LENGTH 16
|
set -gx PASSWORD_STORE_GENERATED_LENGTH 16
|
||||||
set -gx PASSWORD_STORE_CLIP_TIME 20
|
set -gx PASSWORD_STORE_CLIP_TIME 20
|
||||||
|
|
||||||
|
# Ripgrep requires this environment variable for knowing the config file path
|
||||||
|
set -gx RIPGREP_CONFIG_PATH {$HOME}/.config/ripgrep/ripgreprc
|
||||||
|
|
||||||
# Required for all environment variables to be set correctly, especially
|
# Required for all environment variables to be set correctly, especially
|
||||||
# in tmux session service.
|
# in tmux session service.
|
||||||
dbus-update-activation-environment --systemd --all
|
dbus-update-activation-environment --systemd --all
|
||||||
|
|
Loading…
Reference in a new issue