mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2025-01-22 05:13:56 +01:00
add more fish functions
This commit is contained in:
parent
5271832a2c
commit
dec607c6e7
3 changed files with 11 additions and 0 deletions
3
dot_config/fish/private_functions/sdev.fish
Normal file
3
dot_config/fish/private_functions/sdev.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function sdev
|
||||||
|
ssh sdev -t 'tmux -CC new -A -s tmssh'
|
||||||
|
end
|
5
dot_config/fish/private_functions/stash.fish
Normal file
5
dot_config/fish/private_functions/stash.fish
Normal file
|
@ -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
|
3
dot_config/fish/private_functions/static-server.fish
Normal file
3
dot_config/fish/private_functions/static-server.fish
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue