feat(home): Add -f to rm alias
This commit is contained in:
parent
8e49eb2203
commit
59987f0728
1 changed files with 20 additions and 18 deletions
|
@ -17,25 +17,27 @@ in
|
|||
options.marleyos.programs.fish.enable = mkEnableOption "fish";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
# general
|
||||
babelfish
|
||||
home.packages =
|
||||
with pkgs;
|
||||
[
|
||||
# general
|
||||
babelfish
|
||||
|
||||
# for fish_greeting()
|
||||
marleyos.figlet-xero-fonts
|
||||
lolcat
|
||||
# for fish_greeting()
|
||||
marleyos.figlet-xero-fonts
|
||||
lolcat
|
||||
|
||||
# for extract()
|
||||
gnutar
|
||||
bzip2
|
||||
bzip3
|
||||
gzip
|
||||
unzip
|
||||
pax
|
||||
]
|
||||
# unrar-free is broken on darwin :(
|
||||
++ (optionals (is-linux system) [ unrar-free ])
|
||||
++ (optionals (is-darwin system) [ unrar ]);
|
||||
# for extract()
|
||||
gnutar
|
||||
bzip2
|
||||
bzip3
|
||||
gzip
|
||||
unzip
|
||||
pax
|
||||
]
|
||||
# unrar-free is broken on darwin :(
|
||||
++ (optionals (is-linux system) [ unrar-free ])
|
||||
++ (optionals (is-darwin system) [ unrar ]);
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
@ -72,7 +74,7 @@ in
|
|||
cp = "cp -iv";
|
||||
mkdir = "mkdir -pv";
|
||||
mv = "mv -iv";
|
||||
rm = "rm -r";
|
||||
rm = "rm -rf";
|
||||
grep = "grep --color=auto";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue