feat(user): add ~/Core/scripts to PATH and source hm-session-vars in bashrc
This commit is contained in:
1 parent
9cc4c24c04
commit
721d607a1c
2 files changed
+5
-1
No files matched your search
@@ -18,6 +18,8 @@
|
|||||||
# Ensure cargo/bin (and other user binaries) are in the system PATH
|
# Ensure cargo/bin (and other user binaries) are in the system PATH
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"$HOME/.cargo/bin"
|
"$HOME/.cargo/bin"
|
||||||
|
"$HOME/.local/bin"
|
||||||
|
"$HOME/Core/scripts"
|
||||||
];
|
];
|
||||||
|
|
||||||
# The state version of Home Manager that this configuration is compatible with.
|
# The state version of Home Manager that this configuration is compatible with.
|
||||||
|
|||||||
@@ -146,7 +146,6 @@
|
|||||||
|
|
||||||
# Shell Aliases for speed, productivity, and command overrides
|
# Shell Aliases for speed, productivity, and command overrides
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
appctl = "/home/kiskaadee/Core/scripts/appctl";
|
|
||||||
zed = "zeditor";
|
zed = "zeditor";
|
||||||
reload = "exec bash";
|
reload = "exec bash";
|
||||||
ff = "fastfetch --logo none";
|
ff = "fastfetch --logo none";
|
||||||
@@ -205,6 +204,9 @@
|
|||||||
# Inject modular shell helper scripts directly into .bashrc.
|
# Inject modular shell helper scripts directly into .bashrc.
|
||||||
# This allows us to keep discrete logic files without cluttering home.nix or base.nix.
|
# This allows us to keep discrete logic files without cluttering home.nix or base.nix.
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
|
# Ensure Home Manager session variables and PATH are available in non-login / SSH shells
|
||||||
|
[[ -f ~/.nix-profile/etc/profile.d/hm-session-vars.sh ]] && . ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||||
|
|
||||||
${builtins.readFile ./shell/wayland.sh} # Wayland clipboard helper (wlc)
|
${builtins.readFile ./shell/wayland.sh} # Wayland clipboard helper (wlc)
|
||||||
${builtins.readFile ./shell/git.sh} # Git workflow automations (gacp, gitignore)
|
${builtins.readFile ./shell/git.sh} # Git workflow automations (gacp, gitignore)
|
||||||
${builtins.readFile ./shell/pdf.sh} # Command line PDF decryption helper
|
${builtins.readFile ./shell/pdf.sh} # Command line PDF decryption helper
|
||||||
|
|||||||
Reference in new issue
Block a user