fix: add alias
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
#/bin/fish
|
|
||||||
source $HOME/.config/fish/config.fish
|
|
||||||
Reference in New Issue
Block a user