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