Add nuql plugin support
This commit is contained in:
parent
4464b0c4f2
commit
39c4348bda
@ -25,7 +25,13 @@ $env.config = {
|
||||
render_right_prompt_on_last_line: false
|
||||
use_kitty_protocol: false
|
||||
|
||||
plugins: {}
|
||||
plugins: {
|
||||
#{{- if eq .age_key "age1htqslfl4d5uv76j8eg49u9njqjx5udj9jmg3ujf2gxjjm06z0vqqwz6tlm" }}
|
||||
nupsql: (do {
|
||||
dbs nuql config
|
||||
})
|
||||
#{{- end }}
|
||||
}
|
||||
|
||||
display_errors: {
|
||||
exit_code: true
|
||||
@ -794,3 +800,7 @@ $env.config = {
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
#{{- if eq .age_key "age1htqslfl4d5uv76j8eg49u9njqjx5udj9jmg3ujf2gxjjm06z0vqqwz6tlm" }}
|
||||
dbs nuql auth
|
||||
#{{- end }}
|
||||
|
||||
@ -6,3 +6,8 @@ export def configurations []: [
|
||||
| rename name active account project zone region
|
||||
| each { update active { $in == True } }
|
||||
}
|
||||
|
||||
# get the current project as defined gcloud
|
||||
export def "current project" []: nothing -> string {
|
||||
gcloud config list --format="value(core.project)"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user