From a76ae8947177627d329b1f5abef2edc4dada5653 Mon Sep 17 00:00:00 2001 From: Candifloss Date: Thu, 16 Jul 2026 07:39:07 +0530 Subject: [PATCH] Compact theme - Depends on PrettyPrompt --- conf.d/25_prompt_theme.fish | 1 + themes/compact/prompt.fish | 7 +++++++ themes/compact/right_prompt.fish | 7 +++++++ 3 files changed, 15 insertions(+) create mode 100644 themes/compact/prompt.fish create mode 100644 themes/compact/right_prompt.fish diff --git a/conf.d/25_prompt_theme.fish b/conf.d/25_prompt_theme.fish index 6c63cb2..3dd11fa 100644 --- a/conf.d/25_prompt_theme.fish +++ b/conf.d/25_prompt_theme.fish @@ -2,6 +2,7 @@ # Change "default" to preferred theme name set -g FISH_PROMPT_THEME default +#set -g FISH_PROMPT_THEME compact set -l theme_dir ~/.config/fish/themes/$FISH_PROMPT_THEME diff --git a/themes/compact/prompt.fish b/themes/compact/prompt.fish new file mode 100644 index 0000000..0b02400 --- /dev/null +++ b/themes/compact/prompt.fish @@ -0,0 +1,7 @@ +# Compact Theme +# Dependency: https://git.candifloss.cc/candifloss/PrettyPrompt + +# Left prompt: Minimal prompt with color indicators +function fish_prompt + prettyprompt $status +end \ No newline at end of file diff --git a/themes/compact/right_prompt.fish b/themes/compact/right_prompt.fish new file mode 100644 index 0000000..e7fd67e --- /dev/null +++ b/themes/compact/right_prompt.fish @@ -0,0 +1,7 @@ +# Compact Theme +# Dependency: https://git.candifloss.cc/candifloss/PrettyPrompt + +# Right prompt: pwd and git +function fish_right_prompt + prettyprompt-pwd +end \ No newline at end of file