fish: init
This commit is contained in:
parent
eda1f4129c
commit
69ceb5dcc5
14 changed files with 171 additions and 1 deletions
22
stow/.config/fish/config.fish
Normal file
22
stow/.config/fish/config.fish
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue