forked from nico/dots
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
|
ffmpeg
|
||||||
imagemagick
|
imagemagick
|
||||||
];
|
] ++ lib.optionals pkgs.stdenv.isLinux [ pkgs.trash-cli ];
|
||||||
|
|
||||||
programs.tmux.enable = true;
|
programs.tmux.enable = true;
|
||||||
documentation.man.enable = true;
|
documentation.man.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ alias ls="ls -h --color=auto"
|
||||||
alias la="ls -ah --color=auto"
|
alias la="ls -ah --color=auto"
|
||||||
alias ll="ls -ahl --color=auto"
|
alias ll="ls -ahl --color=auto"
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
|
alias rm="trash"
|
||||||
|
|
||||||
alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" # needed for osx systems for some reason
|
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