forked from Shinonome/dots-hyprland
Initial commit
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user