feat: Add prefix config to directory module (#642)

This commit is contained in:
Dan Wendorf
2019-12-06 11:19:11 -08:00
committed by Matan Kushner
parent 9f574eaabd
commit dee25c7b35
10 changed files with 28 additions and 3 deletions
+1
View File
@@ -303,6 +303,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| ------------------- | ------------- | -------------------------------------------------------------------------------- |
| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. |
| `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. |
| `prefix` | `"in "` | Prefix to display immediately before the directory. |
| `style` | `"bold cyan"` | The style for the module. |
| `disabled` | `false` | Disables the `directory` module. |