fish_functions/devcontrol.fish
- 366 bytes
- View raw
1function devcontrol --description "Run a local instance of the Tailscale control plane"
2 # Save the arguments to a global variable, then set them as the
3 # tab title.
4 set -g devcontrol_args $argv
5 function fish_title
6 echo "devcontrol $devcontrol_args"
7 end
9 cd ~/repos/scripts
10 source .venv/bin/activate.fish
11 python3 tailscale/devcontrol.py $argv
12end