Add anchors to README

This commit is contained in:
Ilan Cosman 2020-06-05 19:10:19 -07:00
parent 6a957bd12a
commit c5655f0524
2 changed files with 9 additions and 8 deletions

View File

@ -106,13 +106,14 @@ Tide's git capabilities are inherited from fish's built-in [fish_git_prompt](htt
### pwd ### pwd
| Variable | Description | Default | | Variable | Description | Default |
| ------------------------ | ------------------------------------------------------------------------ | -------------- | | ------------------------ | ------------------------------------------------------------------------ | -------------------- |
| pwd_truncate_margin | number of columns distance to maintain between pwd and edge of terminal | 5 | | pwd_anchors | Directories displayed in bold and immune to truncation | 'first' 'last' 'git' |
| pwd_unwritable_icon | symbol to display when the current directory is not writable by the user | '' #Lock icon | | pwd_color_anchors | color of anchors | 00AFFF |
| pwd_color_end_dirs | color of first and last directories | 00AFFF | | pwd_truncate_margin | number of columns distance to maintain between pwd and edge of terminal | 10 |
| pwd_color_mid_dirs | color of directories between first and last | 0087AF | | pwd_color_truncated_dirs | color of truncated directories | 8787AF |
| pwd_color_truncated_dirs | color of directories that get truncated when pwd is too long | 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 ### status

View File

@ -26,7 +26,7 @@ function _set_tide_defaults
_set tide_prompt_char_failure_color FF0000 _set tide_prompt_char_failure_color FF0000
_set tide_prompt_char_icon '' _set tide_prompt_char_icon ''
# ----------------Pwd---------------- # ----------------Pwd----------------
_set tide_pwd_truncate_margin 5 _set tide_pwd_truncate_margin 10
_set tide_pwd_unwritable_icon '' # Lock _set tide_pwd_unwritable_icon '' # Lock
_set tide_pwd_anchors 'first' 'last' 'git' _set tide_pwd_anchors 'first' 'last' 'git'
_set tide_pwd_color_anchors $_tide_color_light_blue _set tide_pwd_color_anchors $_tide_color_light_blue