mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
users/foo-dogsquared: add PATH for custom scripts from dotfiles
This commit is contained in:
parent
a5a0399e61
commit
bb07f426b3
@ -29,13 +29,17 @@ in
|
|||||||
# blocking the Wezterm's shell integration by fetching another
|
# blocking the Wezterm's shell integration by fetching another
|
||||||
# instance of bash-preexec.
|
# instance of bash-preexec.
|
||||||
programs.atuin.enableBashIntegration = false;
|
programs.atuin.enableBashIntegration = false;
|
||||||
programs.bash.bashrcExtra = ''
|
programs.bash = {
|
||||||
source ${pkgs.wezterm}/etc/profile.d/wezterm.sh
|
bashrcExtra = ''
|
||||||
|
source ${pkgs.wezterm}/etc/profile.d/wezterm.sh
|
||||||
|
|
||||||
if [[ :$SHELLOPTS: =~ :(vi|emacs): ]]; then
|
if [[ :$SHELLOPTS: =~ :(vi|emacs): ]]; then
|
||||||
eval "$(${config.programs.atuin.package}/bin/atuin init bash)"
|
eval "$(${config.programs.atuin.package}/bin/atuin init bash)"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
sessionVariables.PATH = "${config.home.mutableFile."library/dotfiles".path}/bin\${PATH:+:$PATH}";
|
||||||
|
};
|
||||||
|
|
||||||
# My SSH client configuration. It is encouraged to keep matches and extra
|
# My SSH client configuration. It is encouraged to keep matches and extra
|
||||||
# configurations included in a separate `config.d/` directory. This enables
|
# configurations included in a separate `config.d/` directory. This enables
|
||||||
|
Loading…
Reference in New Issue
Block a user