pull xonsh aliases from global aliases
This commit is contained in:
parent
2e8ca0ee0d
commit
fc0b3eb1df
2 changed files with 2 additions and 4 deletions
|
@ -87,6 +87,7 @@ in
|
|||
environment.shellAliases = {
|
||||
":q" = "exit";
|
||||
"ls" = "eza";
|
||||
"lix" = "nix";
|
||||
};
|
||||
|
||||
programs.tmux = {
|
||||
|
|
|
@ -17,10 +17,7 @@ in
|
|||
|
||||
programs.xonsh = {
|
||||
enable = true;
|
||||
config = ''
|
||||
aliases[":q"] = "exit"
|
||||
aliases["ls"] = "eza"
|
||||
'';
|
||||
config = lib.concatLines (lib.mapAttrsToList (name: value: ''aliases["${name}"] = "${value}"'') config.environment.shellAliases);
|
||||
package = pkgs.xonsh.override {
|
||||
extraPackages =
|
||||
ps: with ps; [
|
||||
|
|
Loading…
Reference in a new issue