diff --git a/config/starship.toml b/config/starship.toml new file mode 100644 index 0000000..6db27d1 --- /dev/null +++ b/config/starship.toml @@ -0,0 +1,9 @@ +# Get editor completions based on the config schema +"$schema" = 'https://starship.rs/config-schema.json' + +# Inserts a blank line between shell prompts +add_newline = true + +# Replace the '❯' symbol in the prompt with '➜' +[character] # The name of the module we are configuring is 'character' +success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' diff --git a/zshrc b/zshrc index 5789042..6dcea54 100644 --- a/zshrc +++ b/zshrc @@ -80,8 +80,8 @@ if command -v antigen &> /dev/null; then hash php 2>/dev/null && antigen bundle php hash nvm 2>/dev/null && antigen bundle nvm hash docker 2>/dev/null && antigen bundle docker - hash ruby 2>/dev/null && antigen bundle ruby - hash python 2>/dev/null && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv + # hash ruby 2>/dev/null && antigen bundle ruby + # hash python 2>/dev/null && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv hash jq 2>/dev/null && antigen bundle reegnz/jq-zsh-plugin hash docker-compose 2>/dev/null && antigen bundle sroze/docker-compose-zsh-plugin # antigen bundle voronkovich/phpcs.plugin.zsh @@ -108,11 +108,11 @@ if hash op 2>/dev/null; then fi # gcloud is present -if hash gcloud 2>/dev/null; then - GCLOUD_LOC=$(gcloud info --format="value(installation.sdk_root)" --quiet) - [[ -f "$GCLOUD_LOC/path.zsh.inc" ]] && builtin source "$GCLOUD_LOC/path.zsh.inc" - [[ -f "$GCLOUD_LOC/completion.zsh.inc" ]] && builtin source "$GCLOUD_LOC/completion.zsh.inc" -fi +#if hash gcloud 2>/dev/null; then +# GCLOUD_LOC=$(gcloud info --format="value(installation.sdk_root)" --quiet) +# [[ -f "$GCLOUD_LOC/path.zsh.inc" ]] && builtin source "$GCLOUD_LOC/path.zsh.inc" +# [[ -f "$GCLOUD_LOC/completion.zsh.inc" ]] && builtin source "$GCLOUD_LOC/completion.zsh.inc" +#fi eval "$(starship init zsh)"