added verbose option to some commands

This commit is contained in:
Lucien Cartier-Tilet 2020-01-25 02:27:21 +01:00
parent 14db2e2303
commit 0f8313bc92
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -7,7 +7,7 @@
#+PROPERTY: header-args:fish :tangle ~/.config/fish/config.fish :exports code #+PROPERTY: header-args:fish :tangle ~/.config/fish/config.fish :exports code
#+PROPERTY: header-args :exports code #+PROPERTY: header-args :exports code
* Table of Contents :TOC_4_gh:noexport: * Table of Contents :TOC:noexport:
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-c7ab05d0-4c5f-4a4c-8603-4c79e264141c :CUSTOM_ID: h-c7ab05d0-4c5f-4a4c-8603-4c79e264141c
:END: :END:
@ -409,10 +409,10 @@
abbr ln 'ln -i' abbr ln 'ln -i'
abbr lns 'ln -si' abbr lns 'ln -si'
abbr mv 'mv -i' abbr mv 'mv -i'
abbr rm 'rm -I' abbr rm 'rm -Iv'
abbr rmd 'rm --preserve-root -Ir' abbr rmd 'rm --preserve-root -Irv'
abbr rmdf 'rm --preserve-root -Irf' abbr rmdf 'rm --preserve-root -Irfv'
abbr rmf 'rm --preserve-root -If' abbr rmf 'rm --preserve-root -Ifv'
#+END_SRC #+END_SRC
The =-i= and =-I= add prompts in case we might not want to do what we asked The =-i= and =-I= add prompts in case we might not want to do what we asked
the shell to do. Notice =lns= which creates symlinks, =rmd= which removes the shell to do. Notice =lns= which creates symlinks, =rmd= which removes
@ -421,9 +421,9 @@
prevent me from accidentally removing the root folder. I added the same prevent me from accidentally removing the root folder. I added the same
option to =chgrp=, =chmod=, and =chown=. option to =chgrp=, =chmod=, and =chown=.
#+BEGIN_SRC fish #+BEGIN_SRC fish
abbr chgrp 'chgrp --preserve-root' abbr chgrp 'chgrp --preserve-root -v'
abbr chmod 'chmod --preserve-root' abbr chmod 'chmod --preserve-root -v'
abbr chown 'chown --preserve-root' abbr chown 'chown --preserve-root -v'
#+END_SRC #+END_SRC
** Typos ** Typos