summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/_off10
1 files changed, 1 insertions, 9 deletions
diff --git a/etc/completions/_off b/etc/completions/_off
index afe95fc..1d61f8f 100644
--- a/etc/completions/_off
+++ b/etc/completions/_off
@@ -7,15 +7,7 @@ arguments=(
'--force[shutdown a server]'
'-n[simulate]'
'-r[reboot]'
- ':place:_off_places'
+ ':place:_derf_place'
)
-function _off_places {
- if [[ ! -d ~/packages/places ]] {
- return 1
- }
- _wanted place expl place \
- compadd $(ls -1 ~/packages/places/etc)
-}
-
_arguments -s $arguments