mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: refactor
This commit is contained in:
parent
24c073494c
commit
c13a102967
1 changed files with 3 additions and 3 deletions
|
|
@ -4,8 +4,8 @@
|
|||
...
|
||||
}: {
|
||||
programs.fish = {
|
||||
shellAbbrs = lib.mergeAttrsList [
|
||||
(lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
shellAbbrs = lib.mkMerge [
|
||||
(lib.mkIf pkgs.stdenv.isLinux {
|
||||
"," = "nix-shell -p";
|
||||
})
|
||||
];
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
tree = "tree -Cph";
|
||||
}
|
||||
|
||||
(lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
(lib.mkIf pkgs.stdenv.isLinux {
|
||||
# idiot protection
|
||||
chmod = "chmod --preserve-root";
|
||||
chown = "chown --preserve-root";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue