mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-18 01:21:33 +03:00
Minor edits
This commit is contained in:
parent
e7d5b786d0
commit
6c39d874ba
@ -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
|
||||
|
@ -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
|
@ -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---------------
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user