dotfiles/_home/private_dot_config/sz.env/zza_starship.env

14 lines
413 B
Bash
Raw Permalink Normal View History

2024-09-19 04:31:48 +00:00
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
if is_cmd load-starship; then
. <( load-starship - )
[[ -n "${DBG}" ]] && echo "starship loaded."
2024-09-19 14:35:09 +00:00
elif [[ -n "${DBG}" ]]; then
>&2 printf '%s\n' \
'starship is not installed, you can install by running:' \
'\tcurl -sS https://starship.rs/install.sh | FORCE=1 BIN_DIR=$HOME/bin sh > /dev/null' \
''
2024-09-19 04:31:48 +00:00
fi