From 157397a829ea450f56458fb65b3bba4cc155a3c1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 25 Feb 2023 14:21:52 +0000 Subject: [PATCH] Move transient prompt function into own file --- config/fish/conf.d/transient_prompt.fish | 3 +++ config/fish/config.fish | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 config/fish/conf.d/transient_prompt.fish diff --git a/config/fish/conf.d/transient_prompt.fish b/config/fish/conf.d/transient_prompt.fish new file mode 100644 index 00000000..0aac3549 --- /dev/null +++ b/config/fish/conf.d/transient_prompt.fish @@ -0,0 +1,3 @@ +function starship_transient_prompt_func + starship module character +end diff --git a/config/fish/config.fish b/config/fish/config.fish index 3831d19c..209d9f7a 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -4,8 +4,5 @@ if status is-interactive fish_config theme choose CatppuccinMacchiato end -function starship_transient_prompt_func - starship module character -end starship init fish | source enable_transience