From 554e5e9424494b9c4ca5c74e4993b2b58fc3cd83 Mon Sep 17 00:00:00 2001 From: jabuxas Date: Tue, 14 Jan 2025 20:05:28 -0300 Subject: [PATCH] feat: new fish prompt by @vanderweiss --- desktop/configs/fish/.config/fish/config.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/desktop/configs/fish/.config/fish/config.fish b/desktop/configs/fish/.config/fish/config.fish index 06a5982..9515971 100644 --- a/desktop/configs/fish/.config/fish/config.fish +++ b/desktop/configs/fish/.config/fish/config.fish @@ -117,4 +117,16 @@ function switch_git_work git config user.email "lucas.catarina@consorciociga.gov.br" end +function fish_write + set_color $argv[1] + echo -en $argv[2] + set_color normal +end + +function fish_prompt + fish_write normal "\n " + fish_write magenta (prompt_pwd --full-length-dirs=99999) + fish_write normal "\n := " +end + fish_add_path /yang/.millennium/ext/bin