Minor edits

This commit is contained in:
Ilan Cosman 2020-04-16 21:31:45 -07:00
parent e7d5b786d0
commit 6c39d874ba
4 changed files with 17 additions and 17 deletions

View File

@ -1 +1,15 @@
source "$__fish_config_dir/functions/lean_fish_prompt.fish"
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
echo
echo (lean_pwd)(lean_git_prompt)
# Prompt character
if test $last_status -eq 0
set_color $lean_green
else
set_color $fish_color_error
end
echo -n " "
set_color $fish_color_normal
end

View File

@ -1,15 +0,0 @@
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
echo
echo (lean_pwd)(lean_git_prompt)
# Prompt character
if test $last_status -eq 0
set_color $lean_green
else
set_color $fish_color_error
end
echo -n " "
set_color $fish_color_normal
end

View File

@ -3,6 +3,7 @@ function lean_uninstall
echo "Uninstalling lean theme..."
# ------------------Remove Functions------------------
rm "$__fish_config_dir/functions/fish_prompt.fish"
rm "$__fish_config_dir/functions/lean*"
# ---------------Erase Theme Variables---------------

View File

@ -1,4 +1,4 @@
function user_ask --argument-names question options
function lean_user_ask --argument-names question options
set -l optionList (string split "/" $options)
for option in $optionList