aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/completion.bash5
1 files changed, 1 insertions, 4 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash
index ecdffab8..0ddb1b55 100644
--- a/bash/bashrc.d/completion.bash
+++ b/bash/bashrc.d/completion.bash
@@ -37,11 +37,8 @@ complete -A shopt shopt
# Signal names
complete -A signal trap
-# Variables
-complete -A variable declare export readonly typeset
-
# Both functions and variables
-complete -A function -A variable unset
+complete -A function -A variable declare export readonly typeset unset
# The `mapfile` builtin in Bash >= 4.0
((BASH_VERSINFO[0] >= 4)) && complete -A arrayvar mapfile