mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: make {nix,nom}-shell use fish
This commit is contained in:
parent
28b987bf6d
commit
5b7fe1dae8
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
programs.fish = {
|
||||
shellAbbrs = lib.mergeAttrsList [
|
||||
(lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
"," = "nix-shell --command fish -p";
|
||||
"," = "nix-shell -p";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
@ -20,6 +20,10 @@
|
|||
# idiot protection
|
||||
chmod = "chmod --preserve-root";
|
||||
chown = "chown --preserve-root";
|
||||
|
||||
# I can't make alias with a space, i.e. `nom shell`
|
||||
nix-shell = "nix-shell --command fish";
|
||||
nom-shell = "nom-shell --command fish";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue