fish: init

This commit is contained in:
Nico 2025-06-21 20:10:57 +10:00
parent eda1f4129c
commit 69ceb5dcc5
14 changed files with 171 additions and 1 deletions

View file

@ -0,0 +1,22 @@
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 ""
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
zoxide init fish | source
end