fix: add alias

This commit is contained in:
2024-08-05 17:25:38 +08:00
parent 30dfd1a02d
commit 67c9d89f41
2 changed files with 6 additions and 2 deletions
+6
View File
@@ -55,12 +55,18 @@ alias gmt="go mod tidy"
alias gtc="go test -gcflags=all=-l -cover ./..." alias gtc="go test -gcflags=all=-l -cover ./..."
alias swg="swag init -o docs -g " alias swg="swag init -o docs -g "
alias sws="swagger serve -F=swagger" alias sws="swagger serve -F=swagger"
alias sourceit="source ~/.config/fish/config.fish"
function gtr function gtr
go test -gcflags=all=-l -v -run=$argv go test -gcflags=all=-l -v -run=$argv
end end
function ctl
systemctl $argv
end
if test -f ~/.config/fish/custom.fish if test -f ~/.config/fish/custom.fish
source ~/.config/fish/custom.fish source ~/.config/fish/custom.fish
end end
-2
View File
@@ -1,2 +0,0 @@
#/bin/fish
source $HOME/.config/fish/config.fish