aboutsummaryrefslogtreecommitdiffhomepage
path: root/conf
diff options
context:
space:
mode:
authorGravatar John Hood <cgull@glup.org>2015-06-24 00:28:23 -0400
committerGravatar John Hood <cgull@glup.org>2015-06-24 00:28:23 -0400
commit6a169dc7eaf8c3e1b959ce900bf0b3bcd6a8a116 (patch)
tree6e3cc349041b10ae68352f19bf694a9fc6214675 /conf
parent05da49fc3f8f5b9bf935a40fde6dc798413d2e1e (diff)
Revert "Update bash completion for Debian."
Diffstat (limited to 'conf')
-rw-r--r--conf/Makefile.am3
-rw-r--r--conf/bash-completion/completions/mosh9
-rw-r--r--conf/bash_completion.d/mosh1
3 files changed, 2 insertions, 11 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am
index 70c5915..cb45ecd 100644
--- a/conf/Makefile.am
+++ b/conf/Makefile.am
@@ -1,10 +1,9 @@
nobase_dist_sysconf_DATA =
-nobase_dist_data_DATA =
if INSTALL_UFW
nobase_dist_sysconf_DATA += ufw/applications.d/mosh
endif
if INSTALL_COMPLETION
- nobase_dist_data_DATA += bash-completion/completions/mosh
+ nobase_dist_sysconf_DATA += bash_completion.d/mosh
endif
diff --git a/conf/bash-completion/completions/mosh b/conf/bash-completion/completions/mosh
deleted file mode 100644
index e928112..0000000
--- a/conf/bash-completion/completions/mosh
+++ /dev/null
@@ -1,9 +0,0 @@
-_mosh () {
- local cur prev
-
- _init_completion || return
-
- _known_hosts_real -a "$cur"
-}
-
-complete -F _mosh mosh
diff --git a/conf/bash_completion.d/mosh b/conf/bash_completion.d/mosh
new file mode 100644
index 0000000..93768d3
--- /dev/null
+++ b/conf/bash_completion.d/mosh
@@ -0,0 +1 @@
+complete -F _known_hosts mosh