From b9d4f7fcd076551c48d93839043dbacbeec2bb79 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 29 Apr 2016 07:10:19 +0200 Subject: zsh: fix/add completions, hostnames --- zsh/.zsh/completions/_crypt_disk | 4 ++++ zsh/.zsh/completions/_net-profile | 3 --- zsh/.zsh/completions/_net_profile | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 zsh/.zsh/completions/_crypt_disk delete mode 100644 zsh/.zsh/completions/_net-profile create mode 100644 zsh/.zsh/completions/_net_profile (limited to 'zsh/.zsh/completions') diff --git a/zsh/.zsh/completions/_crypt_disk b/zsh/.zsh/completions/_crypt_disk new file mode 100644 index 0000000..656310e --- /dev/null +++ b/zsh/.zsh/completions/_crypt_disk @@ -0,0 +1,4 @@ +#compdef crypt-disk + +_arguments "1: :(mount umount)" + diff --git a/zsh/.zsh/completions/_net-profile b/zsh/.zsh/completions/_net-profile deleted file mode 100644 index 4804283..0000000 --- a/zsh/.zsh/completions/_net-profile +++ /dev/null @@ -1,3 +0,0 @@ -#compdef net_profile - -_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))" diff --git a/zsh/.zsh/completions/_net_profile b/zsh/.zsh/completions/_net_profile new file mode 100644 index 0000000..a4be43d --- /dev/null +++ b/zsh/.zsh/completions/_net_profile @@ -0,0 +1,4 @@ +#compdef net-profile + +_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))" + -- cgit v1.2.3