From cb4be65d290e58917fc471281b3c06b6507a7d42 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Mon, 17 Jul 2017 01:14:26 -0500 Subject: [PATCH] [utility] Update documentation for 'safe-ops' Update formatting and wordings to be more consistent with rest of prezto documentation. --- modules/utility/README.md | 8 +++++--- runcoms/zpreztorc | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/utility/README.md b/modules/utility/README.md index 9e9e34c..ed9db39 100644 --- a/modules/utility/README.md +++ b/modules/utility/README.md @@ -109,9 +109,11 @@ Aliases ### Safe ops -By default, `cp`,`ln`, `mv`, and `rm` are aliased to their interactive variants. -If this is not desired, you can disable it by adding -`zstyle ':prezto:module:utility' safe-ops no` to your zpreztorc. +By default, `cp`,`ln`, `mv` and `rm` are aliased to their interactive variants. +If this is not desired, it can be disabled by adding the following line to +*zpreztorc*: + + zstyle ':prezto:module:utility' safe-ops 'no'. In addition, the following aliases have been added: diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index fcf1204..9fbc4f6 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -191,7 +191,7 @@ zstyle ':prezto:module:prompt' theme 'sorin' # Utility # -# safe-ops is enabled by default. This aliases rm, mv, cp, and ln so that they -# prompt before deleting or copying over files. Set to no to disable this safer +# Enabled safe options. This aliases cp, ln, mv and rm so that they prompt +# before deleting or overwriting files. Set to 'no' to disable this safer # behavior. -# zstyle ':prezto:module:utility' safe-ops yes +# zstyle ':prezto:module:utility' safe-ops 'yes'