mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 10:14:12 -05:00
fix(path): support gitdir_format in linked worktrees
This commit is contained in:
committed by
Jan De Dobbeleer
parent
79eda3d8c7
commit
224eb9a865
@@ -48,7 +48,7 @@ import Config from "@site/src/components/Config.js";
|
||||
| `edge_format` | `string` | `%s` | format to use on the first and last folder of the path |
|
||||
| `left_format` | `string` | `%s` | format to use on the first folder of the path - defaults to `edge_format` |
|
||||
| `right_format` | `string` | `%s` | format to use on the last folder of the path - defaults to `edge_format` |
|
||||
| `gitdir_format` | `string` | | format to use for a git root directory |
|
||||
| `gitdir_format` | `string` | | format to use for a Git root directory, including linked worktrees |
|
||||
| `display_cygpath` | `boolean` | `false` | display the Cygwin style path using `cygpath -u $PWD` |
|
||||
| `display_root` | `boolean` | `false` | display the root `/` on Unix systems |
|
||||
| `dir_length` | `number` | `1` | the length of the directory name to display when using `fish` |
|
||||
|
||||
Reference in New Issue
Block a user