refactor: move shellaliases to user scope
This commit is contained in:
parent
0539b63e83
commit
0074d96e89
2 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,5 @@
|
||||||
{
|
{
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
|
||||||
gs = "git status";
|
|
||||||
ai = "aichat -r %shell% -e";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,4 +13,10 @@
|
||||||
./programs/zsh.nix
|
./programs/zsh.nix
|
||||||
./scripts
|
./scripts
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.shell.enableShellIntegration = true;
|
||||||
|
home.shellAliases = {
|
||||||
|
gs = "git status";
|
||||||
|
ai = "aichat -r %shell% -e";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue