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";
|
options.marleyos.programs.fish.enable = mkEnableOption "fish";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
# general
|
with pkgs;
|
||||||
babelfish
|
[
|
||||||
|
# general
|
||||||
|
babelfish
|
||||||
|
|
||||||
# for fish_greeting()
|
# for fish_greeting()
|
||||||
marleyos.figlet-xero-fonts
|
marleyos.figlet-xero-fonts
|
||||||
lolcat
|
lolcat
|
||||||
|
|
||||||
# for extract()
|
# for extract()
|
||||||
gnutar
|
gnutar
|
||||||
bzip2
|
bzip2
|
||||||
bzip3
|
bzip3
|
||||||
gzip
|
gzip
|
||||||
unzip
|
unzip
|
||||||
pax
|
pax
|
||||||
]
|
]
|
||||||
# unrar-free is broken on darwin :(
|
# unrar-free is broken on darwin :(
|
||||||
++ (optionals (is-linux system) [ unrar-free ])
|
++ (optionals (is-linux system) [ unrar-free ])
|
||||||
++ (optionals (is-darwin system) [ unrar ]);
|
++ (optionals (is-darwin system) [ unrar ]);
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -72,7 +74,7 @@ in
|
||||||
cp = "cp -iv";
|
cp = "cp -iv";
|
||||||
mkdir = "mkdir -pv";
|
mkdir = "mkdir -pv";
|
||||||
mv = "mv -iv";
|
mv = "mv -iv";
|
||||||
rm = "rm -r";
|
rm = "rm -rf";
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue