zsh: alias trash to rm
safer deletions now on darwin and linux
This commit is contained in:
parent
24db8b66f2
commit
5f7a33b4c3
2 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
ffmpeg
|
||||
imagemagick
|
||||
];
|
||||
] ++ lib.optionals pkgs.stdenv.isLinux [ pkgs.trash-cli ];
|
||||
|
||||
programs.tmux.enable = true;
|
||||
documentation.man.enable = true;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ alias ls="ls -h --color=auto"
|
|||
alias la="ls -ah --color=auto"
|
||||
alias ll="ls -ahl --color=auto"
|
||||
alias cat="bat"
|
||||
alias rm="trash"
|
||||
|
||||
alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" # needed for osx systems for some reason
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue