diff --git a/dot_config/fish/private_functions/sdev.fish b/dot_config/fish/private_functions/sdev.fish new file mode 100644 index 0000000..e4c7df2 --- /dev/null +++ b/dot_config/fish/private_functions/sdev.fish @@ -0,0 +1,3 @@ +function sdev + ssh sdev -t 'tmux -CC new -A -s tmssh' +end diff --git a/dot_config/fish/private_functions/stash.fish b/dot_config/fish/private_functions/stash.fish new file mode 100644 index 0000000..c70a384 --- /dev/null +++ b/dot_config/fish/private_functions/stash.fish @@ -0,0 +1,5 @@ +function stash +set creds (keepassxc-cli show -a username -a password ~/Nextcloud/OVH/keepass.kdbx "Stash token") +set -U STASH_USER $creds[1] +set -U STASH_PWD $creds[2] +end diff --git a/dot_config/fish/private_functions/static-server.fish b/dot_config/fish/private_functions/static-server.fish new file mode 100644 index 0000000..27992f5 --- /dev/null +++ b/dot_config/fish/private_functions/static-server.fish @@ -0,0 +1,3 @@ +function static-server --wraps='go run github.com/eliben/static-server@latest' --description 'alias static-server go run github.com/eliben/static-server@latest' + go run github.com/eliben/static-server@latest $argv +end