aboutsummaryrefslogtreecommitdiffstats
path: root/modules/networking/usque/usque-warp.zsh
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 02:02:23 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:32 +0530
commit41bdeb88009dd232808edee9fc0e4ae94358d8d6 (patch)
treec1a41f54e086064dac178ebed24d36ab34087c32 /modules/networking/usque/usque-warp.zsh
parent530299d97926d45939f831dc3ea5e444d2839d08 (diff)
downloadhome-manager-config-41bdeb88009dd232808edee9fc0e4ae94358d8d6.tar.gz
home-manager-config-41bdeb88009dd232808edee9fc0e4ae94358d8d6.zip
refactor: moving script into modules that makes sense
- instead of collecting all scripts into modules/scripts we are moving them to modules that makes sense (yazi-file-chooser.sh into yazi)
Diffstat (limited to 'modules/networking/usque/usque-warp.zsh')
-rw-r--r--modules/networking/usque/usque-warp.zsh17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/networking/usque/usque-warp.zsh b/modules/networking/usque/usque-warp.zsh
new file mode 100644
index 0000000..fbb340e
--- /dev/null
+++ b/modules/networking/usque/usque-warp.zsh
@@ -0,0 +1,17 @@
+#compdef usque-warp
+
+_arguments \
+ '1: :->cmds' \
+ '*::arg:->args'
+
+case $state in
+ cmds)
+ local -a commands
+ commands=(
+ 'connect:Connect to WARP'
+ 'disconnect:Disconnect from WARP'
+ 'status:Show connection status'
+ )
+ _describe 'command' commands
+ ;;
+esac