24 lines
649 B
Fish
24 lines
649 B
Fish
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
# match prompt symbol to OS logo
|
|
if test -e /System
|
|
set pure_symbol_prompt ""
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
else
|
|
posix-source /etc/os-release
|
|
if [ "$ID" = "nixos" ]
|
|
set pure_symbol_prompt ""
|
|
else if [ "$ID" = "debian" ]
|
|
set pure_symbol_prompt ""
|
|
else if [ "$ID" = "fedora" ]
|
|
set pure_symbol_prompt ""
|
|
else if [ "$ID" = "arch" ]
|
|
set pure_symbol_prompt ""
|
|
end
|
|
end
|
|
|
|
set pure_enable_single_line_prompt true
|
|
set HOMEBREW_AUTO_UPDATE_SECS 86400
|
|
zoxide init fish | source
|
|
end
|