fix(path): support gitdir_format in linked worktrees

This commit is contained in:
Gravifer
2026-07-28 08:32:19 +02:00
committed by Jan De Dobbeleer
parent 79eda3d8c7
commit 224eb9a865
4 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -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` |