From 92a345916b9d72d281d57d6a6977d62615bd3203 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Thu, 12 Nov 2020 01:46:28 +0900 Subject: [PATCH] Move fish_right_prompt to fish_right_prompt.fish (#45) * Remove fish_right_prompt from wrong file * Create fish_right_prompt.fish --- functions/fish_prompt.fish | 7 ------- functions/fish_right_prompt.fish | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 functions/fish_right_prompt.fish diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 0950c3a..15d8f8e 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -13,10 +13,3 @@ function fish_prompt --description 'Created by tide configure' _tide_right_prompt _tide_left_prompt end - -function fish_right_prompt - printf '%s' $_tide_fish_right_prompt_display - # Right prompt is always the last thing on the line - # therefore reset colors for tab completion - set_color normal -end \ No newline at end of file diff --git a/functions/fish_right_prompt.fish b/functions/fish_right_prompt.fish new file mode 100644 index 0000000..c945bea --- /dev/null +++ b/functions/fish_right_prompt.fish @@ -0,0 +1,6 @@ +function fish_right_prompt + printf '%s' $_tide_fish_right_prompt_display + # Right prompt is always the last thing on the line + # therefore reset colors for tab completion + set_color normal +end