1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 18:38:00 +00:00

[utility] Update documentation for 'safe-ops'

Update formatting and wordings to be more consistent with rest of prezto
documentation.
This commit is contained in:
Indrajit Raychaudhuri 2017-07-17 01:14:26 -05:00 committed by Indrajit Raychaudhuri
parent f236344fc8
commit cb4be65d29
2 changed files with 8 additions and 6 deletions

View File

@ -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:

View File

@ -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'