From c5655f0524ddfb8029de36794bf5464ad38b14ca Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Fri, 5 Jun 2020 19:10:19 -0700 Subject: [PATCH] Add anchors to README --- README.md | 15 ++++++++------- .../configure/functions/_set_tide_defaults.fish | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5d643235..b3f83c49 100644 --- a/README.md +++ b/README.md @@ -106,13 +106,14 @@ Tide's git capabilities are inherited from fish's built-in [fish_git_prompt](htt ### pwd -| Variable | Description | Default | -| ------------------------ | ------------------------------------------------------------------------ | -------------- | -| pwd_truncate_margin | number of columns distance to maintain between pwd and edge of terminal | 5 | -| pwd_unwritable_icon | symbol to display when the current directory is not writable by the user | '' #Lock icon | -| pwd_color_end_dirs | color of first and last directories | 00AFFF | -| pwd_color_mid_dirs | color of directories between first and last | 0087AF | -| pwd_color_truncated_dirs | color of directories that get truncated when pwd is too long | 8787AF | +| Variable | Description | Default | +| ------------------------ | ------------------------------------------------------------------------ | -------------------- | +| pwd_anchors | Directories displayed in bold and immune to truncation | 'first' 'last' 'git' | +| pwd_color_anchors | color of anchors | 00AFFF | +| pwd_truncate_margin | number of columns distance to maintain between pwd and edge of terminal | 10 | +| pwd_color_truncated_dirs | color of truncated directories | 8787AF | +| pwd_color_dirs | color of normal directories | 0087AF | +| pwd_unwritable_icon | symbol to display when the current directory is not writable by the user | '' #Lock icon | ### status diff --git a/tide_theme/configure/functions/_set_tide_defaults.fish b/tide_theme/configure/functions/_set_tide_defaults.fish index 165c139a..f3484d5b 100644 --- a/tide_theme/configure/functions/_set_tide_defaults.fish +++ b/tide_theme/configure/functions/_set_tide_defaults.fish @@ -26,7 +26,7 @@ function _set_tide_defaults _set tide_prompt_char_failure_color FF0000 _set tide_prompt_char_icon '❯' # ----------------Pwd---------------- - _set tide_pwd_truncate_margin 5 + _set tide_pwd_truncate_margin 10 _set tide_pwd_unwritable_icon '' # Lock _set tide_pwd_anchors 'first' 'last' 'git' _set tide_pwd_color_anchors $_tide_color_light_blue