cli: Move common shellAliases to home-manager equivalent config
This commit is contained in:
parent
737d5a5877
commit
6c4a99eb78
1 changed files with 5 additions and 6 deletions
11
home/cli.nix
11
home/cli.nix
|
|
@ -17,6 +17,11 @@ in {
|
||||||
homeDirectory = "/home/${myUser}";
|
homeDirectory = "/home/${myUser}";
|
||||||
stateVersion = "21.05";
|
stateVersion = "21.05";
|
||||||
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
||||||
|
shellAliases = {
|
||||||
|
e = "emacsclient -c $@";
|
||||||
|
ls = "exa $@";
|
||||||
|
t = "exa -T $@";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# do not show home-manager notifications
|
# do not show home-manager notifications
|
||||||
|
|
@ -91,12 +96,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.shellAliases = {
|
|
||||||
e = "emacsclient -c $@";
|
|
||||||
ls = "exa $@";
|
|
||||||
t = "exa -T $@";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash = { enable = true; };
|
bash = { enable = true; };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue