{ programs.fish = { enable = true; functions = { open_project = '' set -l base "$HOME/Projects" set -l choice (fd -t d -d 1 -a . "$base/Personal" "$base/Work" \ | string replace -r -- "^$base/" "" \ | fzf --prompt "project > ") test -n "$choice"; and cd "$base/$choice" ''; }; interactiveShellInit = '' set fish_greeting set fish_color_normal 4c4f69 set fish_color_command 1e66f5 set fish_color_param dd7878 set fish_color_keyword d20f39 set fish_color_quote 40a02b set fish_color_redirection ea76cb set fish_color_end fe640b set fish_color_comment 8c8fa1 set fish_color_error d20f39 set fish_color_gray 9ca0b0 set fish_color_selection --background=ccd0da set fish_color_search_match --background=ccd0da set fish_color_option 40a02b set fish_color_operator ea76cb set fish_color_escape e64553 set fish_color_autosuggestion 9ca0b0 set fish_color_cancel d20f39 set fish_color_cwd df8e1d set fish_color_user 179299 set fish_color_host 1e66f5 set fish_color_host_remote 40a02b set fish_color_status d20f39 set fish_pager_color_progress 9ca0b0 set fish_pager_color_prefix ea76cb set fish_pager_color_completion 4c4f69 set fish_pager_color_description 9ca0b0 set -gx LS_COLORS "$(vivid generate catppuccin-latte)" set -gx COLORTERM truecolor set -gx COLORFGBG "15;0" set -gx TERM_BACKGROUND light for mode in default insert bind --mode $mode \cp open_project end ''; }; }