update
This commit is contained in:
parent
102dadb552
commit
393f4efb7c
@ -137,6 +137,13 @@ function h() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Google Stuff
|
||||||
|
if `env | grep -q google`; then
|
||||||
|
. ~/.google_rc
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Check Starship is installed
|
# Check Starship is installed
|
||||||
if which starship &>/dev/null; then
|
if which starship &>/dev/null; then
|
||||||
if [ $SHELL == '/bin/zsh' ]; then
|
if [ $SHELL == '/bin/zsh' ]; then
|
||||||
@ -160,3 +167,4 @@ for bcfile in ~/.bash_completion.d/*; do
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -51,6 +51,12 @@
|
|||||||
if: '`command -v git >/dev/null 2>&1`'
|
if: '`command -v git >/dev/null 2>&1`'
|
||||||
path: git
|
path: git
|
||||||
|
|
||||||
|
|
||||||
|
## Google
|
||||||
|
~/.google_rc:
|
||||||
|
if: 'env | grep -q google'
|
||||||
|
path: google/google_rc
|
||||||
|
|
||||||
# - create:
|
# - create:
|
||||||
# - ~/downloads
|
# - ~/downloads
|
||||||
# - ~/.vim/undo-history
|
# - ~/.vim/undo-history
|
||||||
|
@ -25,13 +25,17 @@ _display_bug_machine_info() {
|
|||||||
|
|
||||||
# If the combined output string is not empty, print it
|
# If the combined output string is not empty, print it
|
||||||
if [ -n "$output" ]; then
|
if [ -n "$output" ]; then
|
||||||
echo "$output" # echo adds the needed newline after the combined string
|
if [ -n "$STARSHIP_SESSION_KEY" ]; then
|
||||||
|
printf "%s" "$output" # echo adds the needed newline after the combined string
|
||||||
|
else
|
||||||
|
echo "$output"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if [[ ! "$PROMPT_COMMAND" =~ _display_bug_machine_info_bash ]]; then
|
if [[ ! "$PROMPT_COMMAND" =~ _display_bug_machine_info ]]; then
|
||||||
# Prepend the function call
|
# Prepend the function call
|
||||||
PROMPT_COMMAND="_display_bug_machine_info${PROMPT_COMMAND:+;}${PROMPT_COMMAND}"
|
PROMPT_COMMAND="_display_bug_machine_info${PROMPT_COMMAND:+;}${PROMPT_COMMAND}"
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
${custom.tztime}\
|
${custom.tztime}\
|
||||||
@ -36,12 +38,15 @@ $status
|
|||||||
# $username
|
# $username
|
||||||
# """
|
# """
|
||||||
|
|
||||||
|
add_newline = false
|
||||||
|
|
||||||
[fill]
|
[fill]
|
||||||
symbol = ' '
|
symbol = ' '
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
|
||||||
[line_break]
|
[line_break]
|
||||||
disabled = false
|
disabled = true
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
format = '\[AWS: [$profile/($region)]($style)\]'
|
format = '\[AWS: [$profile/($region)]($style)\]'
|
||||||
|
Loading…
Reference in New Issue
Block a user