Browse Source

[utility] Update documentation for 'safe-ops'

Update formatting and wordings to be more consistent with rest of prezto
documentation.
master
Indrajit Raychaudhuri 7 years ago committed by Indrajit Raychaudhuri
parent
commit
cb4be65d29
  1. 8
      modules/utility/README.md
  2. 6
      runcoms/zpreztorc

8
modules/utility/README.md

@ -109,9 +109,11 @@ Aliases
### Safe ops ### Safe ops
By default, `cp`,`ln`, `mv`, and `rm` are aliased to their interactive variants. By default, `cp`,`ln`, `mv` and `rm` are aliased to their interactive variants.
If this is not desired, you can disable it by adding If this is not desired, it can be disabled by adding the following line to
`zstyle ':prezto:module:utility' safe-ops no` to your zpreztorc. *zpreztorc*:
zstyle ':prezto:module:utility' safe-ops 'no'.
In addition, the following aliases have been added: In addition, the following aliases have been added:

6
runcoms/zpreztorc

@ -191,7 +191,7 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Utility # Utility
# #
# safe-ops is enabled by default. This aliases rm, mv, cp, and ln so that they # Enabled safe options. This aliases cp, ln, mv and rm so that they prompt
# prompt before deleting or copying over files. Set to no to disable this safer # before deleting or overwriting files. Set to 'no' to disable this safer
# behavior. # behavior.
# zstyle ':prezto:module:utility' safe-ops yes # zstyle ':prezto:module:utility' safe-ops 'yes'

Loading…
Cancel
Save