Select the types of activity you want to include in your feed.
Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins.
git.anhgelus.world/anhgelus/dotfiles
···11-# name: Default
22-# author: Lily Ballard
33-44-function fish_prompt --description 'Write out the prompt'
55- set -l last_pipestatus $pipestatus
66- set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
77- set -l normal (set_color normal)
88- set -q fish_color_status
99- or set -g fish_color_status red
1010-1111- # Color the prompt differently when we're root
1212- set -l color_cwd "#ffd6ff"
1313- set -l suffix '>'
1414- if functions -q fish_is_root_user; and fish_is_root_user
1515- if set -q fish_color_cwd_root
1616- set color_cwd $fish_color_cwd_root
1717- end
1818- set suffix '#'
1919- end
2020-2121- # Write pipestatus
2222- # If the status was carried over (if no command is issued or if `set` leaves the status untouched), don't bold it.
2323- set -l bold_flag --bold
2424- set -q __fish_prompt_status_generation; or set -g __fish_prompt_status_generation $status_generation
2525- if test $__fish_prompt_status_generation = $status_generation
2626- set bold_flag
2727- end
2828- set __fish_prompt_status_generation $status_generation
2929- set -l status_color (set_color $fish_color_status)
3030- set -l statusb_color (set_color $bold_flag $fish_color_status)
3131- set -l prompt_status (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus)
3232-3333- echo -n -s (prompt_login)' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal " "$prompt_status $suffix " "
3434-end