diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 03:29:19 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 03:29:19 +0100 |
commit | 2794556a41b50f635b6aa49c32fc6ca7bc08c901 (patch) | |
tree | 9557d7a073d4b24e9f10cdc337d9a819eb65ad1a /Doc/help/enable | |
parent | b0d5cb56971618762ab13dbdb8fb17753f07f0f6 (diff) | |
parent | 94c033d2e281eb1f49e8366d21fc259ce8c0c4f5 (diff) | |
download | zsh-2794556a41b50f635b6aa49c32fc6ca7bc08c901.tar.gz zsh-2794556a41b50f635b6aa49c32fc6ca7bc08c901.zip |
Update upstream source from tag 'upstream/5.8'
Update to upstream version '5.8'
with Debian dir b7a9cb7b782a12a49dca06e06ca2554b5a95bf93
Diffstat (limited to 'Doc/help/enable')
-rw-r--r-- | Doc/help/enable | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Doc/help/enable b/Doc/help/enable new file mode 100644 index 000000000..ecf1329c3 --- /dev/null +++ b/Doc/help/enable @@ -0,0 +1,20 @@ +enable [ -afmprs ] name ... + Enable the named hash table elements, presumably disabled ear- + lier with disable. The default is to enable builtin commands. + The -a option causes enable to act on regular or global aliases. + The -s option causes enable to act on suffix aliases. The -f + option causes enable to act on shell functions. The -r option + causes enable to act on reserved words. Without arguments all + enabled hash table elements from the corresponding hash table + are printed. With the -m flag the arguments are taken as pat- + terns (should be quoted) and all hash table elements from the + corresponding hash table matching these patterns are enabled. + Enabled objects can be disabled with the disable builtin com- + mand. + + enable -p reenables patterns disabled with disable -p. Note + that it does not override globbing options; for example, `enable + -p "~"' does not cause the pattern character ~ to be active un- + less the EXTENDED_GLOB option is also set. To enable all possi- + ble patterns (so that they may be individually disabled with + disable -p), use `setopt EXTENDED_GLOB KSH_GLOB NO_SH_GLOB'. |