浏览代码

docs(debian): clarify override behavior for `apt_pref` and `apt_upgr`

Fixes #11959
Marc Cornellà 7 月之前
父节点
当前提交
7329b2fbb1
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      plugins/debian/README.md

+ 6 - 1
plugins/debian/README.md

@@ -13,7 +13,12 @@ plugins=(... debian)
 - `$apt_pref`: use aptitude or apt if installed, fallback is apt-get.
 - `$apt_pref`: use aptitude or apt if installed, fallback is apt-get.
 - `$apt_upgr`: use upgrade or safe-upgrade (for aptitude).
 - `$apt_upgr`: use upgrade or safe-upgrade (for aptitude).
 
 
-Set `$apt_pref` and `$apt_upgr` to whatever command you want (before sourcing Oh My Zsh) to override this behavior.
+Set **both** `$apt_pref` and `$apt_upgr` to whatever command you want (before sourcing Oh My Zsh) to override this behavior, e.g.:
+
+```sh
+apt_pref='apt'
+apt_upgr='full-upgrade'
+```
 
 
 ## Common Aliases
 ## Common Aliases