move alias gobuild to function
This commit is contained in:
parent
3c1b815582
commit
3d82b815b2
@ -133,9 +133,6 @@ alias CAPS='xdotool key Caps_Lock'
|
||||
alias colors='for i in {0..255}; do printf "\x1b[38;5;${i}mcolor${i} - ██████████\n"; done'
|
||||
|
||||
|
||||
alias gobuild='_a() { go build $@ -o . ./...}; _a'
|
||||
|
||||
|
||||
# clipboard
|
||||
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
||||
if [ -n "${DISPLAY}" ]; then
|
||||
|
||||
@ -147,3 +147,7 @@ weather() {
|
||||
local city="${1}"
|
||||
curl "wttr.in/${city}" 2>/dev/null | head -n -1
|
||||
}
|
||||
|
||||
gobuild() {
|
||||
go build $@ -o . ./...
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user