Files
illogical-impulse/.config/fish/config.fish
T
2023-12-25 18:16:14 +07:00

20 lines
588 B
Fish
Executable File

function fish_prompt -d "Write out the prompt"
# This shows up as USER@HOST /home/user/ >, with the directory colored
# $USER and $hostname are set by fish, so you can just use them
# instead of using `whoami` and `hostname`
printf '%s@%s %s%s%s > ' $USER $hostname \
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
end
if status is-interactive
# Commands to run in interactive sessions can go here
set fish_greeting
end
starship init fish | source
# function fish_prompt
# set_color cyan; echo (pwd)
# set_color green; echo '> '
# end