mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-24 20:41:36 +03:00
Add anchors to README
This commit is contained in:
parent
6a957bd12a
commit
c5655f0524
15
README.md
15
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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user