about summary refs log tree commit diff
path: root/fish/completions/xchroot.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/completions/xchroot.fish')
-rw-r--r--fish/completions/xchroot.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/fish/completions/xchroot.fish b/fish/completions/xchroot.fish
new file mode 100644
index 0000000..5bc15fb
--- /dev/null
+++ b/fish/completions/xchroot.fish
@@ -0,0 +1,2 @@
+complete -c xchroot -f
+complete -c xchroot -n '[ (count (commandline -poc)) -eq 1 ]' -a '(__fish_complete_directories)'