shfmt
This commit is contained in:
parent
301a46fa7d
commit
19e313d567
@ -21,7 +21,7 @@ gg() {
|
|||||||
|
|
||||||
local path=${paths[$path_index]}
|
local path=${paths[$path_index]}
|
||||||
cd "$_gopath/$path" || {
|
cd "$_gopath/$path" || {
|
||||||
>&2 echo "?"
|
echo >&2 "?"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -37,8 +37,7 @@ g() {
|
|||||||
#
|
#
|
||||||
# Bash autocomplete for g and gg functions.
|
# Bash autocomplete for g and gg functions.
|
||||||
#
|
#
|
||||||
_g_complete()
|
_g_complete() {
|
||||||
{
|
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
local cur
|
local cur
|
||||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user