aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 14:13:35 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 14:13:35 +1300
commit1c954f7409adc46c9387e9a4256c19c72400d681 (patch)
treebd48c3420f24091ebd01324e28087ca77928529f
parent8ddb8ba683cee22f930dd48d85a117ce07be5cac (diff)
parent9b3d24458de0f67c5d595d05d9c37974f89ecf9d (diff)
downloaddotfiles-1c954f7409adc46c9387e9a4256c19c72400d681.tar.gz
Merge branch 'hotfix/v0.12.1'v0.12.1
* hotfix/v0.12.1: Quote all Bash completion targets literally Bump version number to 0.12.1
-rw-r--r--VERSION4
-rw-r--r--bash/bashrc.d/completion.bash91
2 files changed, 48 insertions, 47 deletions
diff --git a/VERSION b/VERSION
index 12d72a28..b6cce357 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v0.12.0
-Wed Nov 8 00:54:30 UTC 2017
+tejr dotfiles v0.12.1
+Wed Nov 8 01:09:56 UTC 2017
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash
index eb01dda2..901c55ec 100644
--- a/bash/bashrc.d/completion.bash
+++ b/bash/bashrc.d/completion.bash
@@ -16,89 +16,90 @@ fi
# Aliases
complete -A alias \
- unalias
+ 'unalias'
# Bash builtins
complete -A builtin \
- builtin
+ 'builtin'
complete -A enabled \
- disable
+ 'disable'
complete -A disabled \
- enable
+ 'enable'
# Bash options
complete -A setopt \
- set
+ 'set'
# Commands
complete -A command \
- alias \
- command \
- complete \
- compopt \
- coproc \
- do \
- exec \
- if \
- hash \
- then \
- time \
- type \
- until \
- while
+ 'alias' \
+ 'command' \
+ 'complete' \
+ 'compopt' \
+ 'coproc' \
+ 'do' \
+ 'exec' \
+ 'if' \
+ 'hash' \
+ 'then' \
+ 'time' \
+ 'type' \
+ 'until' \
+ 'while'
# Directories
complete -A directory \
- cd \
- pushd \
- mkdir \
- rmdir
+ 'cd' \
+ 'pushd' \
+ 'mkdir' \
+ 'rmdir'
# Functions and variables
complete -A function \
- function
+ 'function'
complete -A function -A variable \
- declare \
- export \
- local \
- readonly \
- typeset \
- unset
+ 'declare' \
+ 'export' \
+ 'local' \
+ 'readonly' \
+ 'typeset' \
+ 'unset'
complete -A variable \
- for \
- getopts \
- let \
- read \
- select
+ 'for' \
+ 'getopts' \
+ 'let' \
+ 'read' \
+ 'select'
# Help topics
-complete -A helptopic help
+complete -A helptopic \
+ 'help'
# Jobspecs
complete -P '%' -A job \
- disown \
- fg \
- jobs
+ 'disown' \
+ 'fg' \
+ 'jobs'
complete -P '%' -A stopped \
- bg
+ 'bg'
# Readline bindings
complete -A binding \
- bind
+ 'bind'
# Shell options
complete -A shopt \
- shopt
+ 'shopt'
# Signal names
complete -A signal \
- trap
+ 'trap'
# The `mapfile` builtin in Bash >= 4.0
if ((BASH_VERSINFO[0] >= 4)) ; then
complete -A arrayvar \
- mapfile \
- readarray
+ 'mapfile' \
+ 'readarray'
fi
# If we have dynamic completion loading (Bash>=4.0), use it