Better way to load prompt themes
This commit is contained in:
parent
41e8e0a49f
commit
be4a5f8b15
@ -1,3 +0,0 @@
|
||||
function fish_prompt
|
||||
__fish_theme_prompt
|
||||
end
|
||||
@ -1,5 +0,0 @@
|
||||
function fish_right_prompt
|
||||
if functions -q __fish_theme_right_prompt
|
||||
__fish_theme_right_prompt
|
||||
end
|
||||
end
|
||||
@ -1,7 +1,7 @@
|
||||
# Default theme
|
||||
# Shell prompt: Left side
|
||||
|
||||
function __fish_theme_prompt
|
||||
function fish_prompt
|
||||
set -l exit_status $status
|
||||
set -l prompt_symbol
|
||||
set -l user_color
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# A minimal Powerline-style prompt
|
||||
# Dependency: https://git.candifloss.cc/candifloss/PrettyPrompt
|
||||
|
||||
function __fish_theme_prompt
|
||||
function fish_prompt
|
||||
set -l exit_status $status
|
||||
|
||||
# Colours
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user