mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-26 17:07:58 +03:00
* temporary dvctr * start of work * fix: timeouts in windows * fish? * feat: better, working stuff * refactor: rename database-seeds to seeds/ * better * fdsaf * feat: don't let our container get owned by root * fix: better user handling * feat: falling asleep at my desk i yield to you what i have done * feat: autoadminify * docs: denote trickshot * feat: open in browser on launch * better seeds workings... * fix: dont kill shell * docs: mention dev/debs * fix: whoops * fix: make seeds load within the century * feat: rest of the containerisation * feat: new alias * style: fix linter errors * fix: bad call * fix: better justfile
9 lines
444 B
Fish
9 lines
444 B
Fish
function _tide_item_gcloud
|
|
set -q CLOUDSDK_CONFIG || set -l CLOUDSDK_CONFIG ~/.config/gcloud
|
|
path is $CLOUDSDK_CONFIG/active_config &&
|
|
read -l config <$CLOUDSDK_CONFIG/active_config &&
|
|
path is $CLOUDSDK_CONFIG/configurations/config_$config &&
|
|
string match -qr '^\s*project\s*=\s*(?<project>.*)' <$CLOUDSDK_CONFIG/configurations/config_$config &&
|
|
_tide_print_item gcloud $tide_gcloud_icon' ' $project
|
|
end
|