summarylogtreecommitdiffstats
path: root/completion-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'completion-fix.patch')
-rw-r--r--completion-fix.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/completion-fix.patch b/completion-fix.patch
deleted file mode 100644
index 6dad220caf5c..000000000000
--- a/completion-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 387d664802ee24ad90d8f72f840863e2e6b34dc0 Mon Sep 17 00:00:00 2001
-From: cgtx <carl@carlgeorge.us>
-Date: Thu, 18 Dec 2014 13:29:21 -0600
-Subject: [PATCH] parse all configs for environment completion (fix #70)
-
----
- contrib/supernova-completion.bash | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/contrib/supernova-completion.bash b/contrib/supernova-completion.bash
-index 8757c9a..e50be36 100644
---- a/contrib/supernova-completion.bash
-+++ b/contrib/supernova-completion.bash
-@@ -3,7 +3,8 @@
- _supernova()
- {
- local cur=${COMP_WORDS[COMP_CWORD]}
-- local possibilities=$(awk '/\[/{ gsub(/\[|\]/,"");print}' ~/.supernova)
-+ local configs=$(cat "${XDG_CONFIG_HOME}"/supernova ~/.supernova ./.supernova 2> /dev/null)
-+ local possibilities=$(echo "${configs}" | sed -n '/^\[.*\]/ s_\[\(.*\)\]_\1_p' | sort -u)
- COMPREPLY=( $(compgen -W "${possibilities}" -- $cur) )
- }
- complete -F _supernova supernova