2024-04-14 18:41:15 -07:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
2024-10-05 14:49:18 -07:00
|
|
|
set -Ux STARSHIP_CONFIG "$XDG_CONFIG_HOME/starship.toml"
|
2024-10-05 14:49:49 -07:00
|
|
|
set -Ux STARSHIP_CACHE "$XDG_CACHE_HOME/starship"
|
2024-10-05 14:49:18 -07:00
|
|
|
|
2024-10-02 21:01:45 -07:00
|
|
|
if command -v starship &>/dev/null
|
|
|
|
function starship_transient_prompt_func
|
|
|
|
starship module character
|
|
|
|
end
|
2024-04-14 18:41:15 -07:00
|
|
|
|
2024-10-02 21:01:45 -07:00
|
|
|
if status is-interactive
|
|
|
|
starship init fish | source
|
|
|
|
enable_transience
|
|
|
|
end
|
2024-04-14 18:41:15 -07:00
|
|
|
end
|