diff --git a/firebase.plugin.zsh b/firebase.plugin.zsh index aff65bc..621970b 100644 --- a/firebase.plugin.zsh +++ b/firebase.plugin.zsh @@ -112,11 +112,11 @@ function get_config_project_id() { then # May be either the project id itself or an alias (which lives in .firebaserc) local target=$(get_firebase_dir) - echo $(grep -s $target ~/.config/configstore/firebase-tools.json | cut -d'"' -f 4) + echo $(grep -s \"$target\" ~/.config/configstore/firebase-tools.json | cut -d'"' -f 4) fi } function get_rc_project_id() { local rc_path="$(get_firebase_dir)/.firebaserc" echo $(grep $1 $rc_path | cut -d'"' -f 4) -} \ No newline at end of file +}