tide/tide_theme/configure/configs/pure.fish

74 lines
2.8 KiB
Fish
Raw Normal View History

2020-06-16 00:25:51 +03:00
for var in $fake_tide_var_list
set -e $var
end
2020-06-16 00:25:51 +03:00
set -g fake_tide_var_list
2020-06-16 00:25:51 +03:00
function _set -a var_name
set -g $var_name $argv[2..-1]
set -a fake_tide_var_list $var_name
end
2020-06-16 00:25:51 +03:00
# -------------------Local Variables-------------------
set -l tideColorGold D7AF00
set -l tideColorDarkerGreen 5FAF00
2020-06-16 00:25:51 +03:00
# ---------------General Theme Variables---------------
_set fake_tide_newline 'true'
# ---------Prompt Connection---------
_set fake_tide_prompt_connection_color 6C6C6C
_set fake_tide_prompt_connection_icon ' '
2020-06-16 00:25:51 +03:00
# --------------------Prompt Items--------------------
_set fake_tide_left_prompt_items 'pwd' 'git_prompt' 'cmd_duration' 'newline' 'prompt_char'
_set fake_tide_right_prompt_items
# ------------Prompt Char------------
_set fake_tide_prompt_char_success_color magenta
_set fake_tide_prompt_char_failure_color red
_set fake_tide_prompt_char_icon ''
# ----------------Pwd----------------
_set fake_tide_pwd_truncate_margin 10
2020-06-16 22:07:35 +03:00
_set fake_tide_pwd_unwritable_icon
2020-06-16 00:25:51 +03:00
_set fake_tide_pwd_max_dirs 0
_set fake_tide_pwd_anchors
_set fake_tide_pwd_color_anchors $_tide_color_light_blue
_set fake_tide_pwd_color_dirs blue
_set fake_tide_pwd_color_truncated_dirs 8787AF
# ------------Git prompt------------
_set fake___fish_git_prompt_showupstream true
_set fake___fish_git_prompt_showdirtystate true
2020-06-20 03:21:49 +03:00
_set fake___fish_git_prompt_showstashstate true
2020-06-16 00:25:51 +03:00
# -------Symbols-------
2020-06-16 02:16:42 +03:00
_set fake___fish_git_prompt_char_stateseparator ''
_set fake___fish_git_prompt_char_upstream_equal ''
2020-06-16 00:25:51 +03:00
_set fake___fish_git_prompt_char_upstream_ahead ' ⇡'
_set fake___fish_git_prompt_char_upstream_behind ' ⇣'
2020-06-16 02:16:42 +03:00
_set fake___fish_git_prompt_char_upstream_diverged ' ⇡⇣'
_set fake___fish_git_prompt_char_dirtystate ''
_set fake___fish_git_prompt_char_stagedstate '*'
2020-06-20 03:21:49 +03:00
_set fake___fish_git_prompt_char_stashstate ' ≡'
2020-06-16 00:25:51 +03:00
# --------Colors--------
_set fake___fish_git_prompt_color_branch brblack
_set fake___fish_git_prompt_color_upstream cyan
2020-06-16 02:16:42 +03:00
_set fake___fish_git_prompt_color_stagedstate brblack
2020-06-20 03:21:49 +03:00
_set fake___fish_git_prompt_color_stashstate cyan
2020-06-16 00:25:51 +03:00
# --------------Status--------------
_set fake_tide_status_success_icon '✔'
_set fake_tide_status_success_color $tideColorDarkerGreen
_set fake_tide_status_failure_icon '✘'
_set fake_tide_status_failure_color D70000
# -----------Cmd_Duration-----------
_set fake_tide_cmd_duration_color yellow
_set fake_tide_cmd_duration_decimals 0
_set fake_tide_cmd_duration_threshold 3000
# --------------Context--------------
_set fake_tide_context_ssh_color D7AF87
_set fake_tide_context_root_color $tideColorGold
# ---------------Jobs---------------
_set fake_tide_jobs_icon '' # Gear
_set fake_tide_jobs_color $tideColorDarkerGreen
# ---------------Time---------------
2020-06-18 20:36:59 +03:00
_set fake_tide_time_color 6C6C6C
2020-06-16 00:25:51 +03:00
_set fake_tide_time_format '%T'
2020-06-16 00:25:51 +03:00
cat "$_tide_dir/configure/fish_prompt.fish" >"$__fish_config_dir/functions/fish_prompt.fish"