diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-08-12 20:49:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-12 20:49:14 +0300 |
commit | 5923aaf07d75a2e3f0ca0781240314e0ab91a431 (patch) | |
tree | d722622c5b89ff1355d50e87a3865fe4cb6ef041 | |
parent | 73a9ee7c870fcc93182c17f7d9d0c6942116169d (diff) |
README: Slight change to new truncation strategy doc
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -313,7 +313,7 @@ Customizations available are: |`truncate_from_right`|Just leaves the beginning of a folder name untouched. E.g. your folders will be truncated like so: "/ro../Pr../office". How many characters will be untouched is controlled by `POWERLEVEL9K_SHORTEN_DIR_LENGTH`.| |`truncate_with_package_name`|Search for a `package.json` or `composer.json` and prints the `name` field to abbreviate the directory path. The precedence and/or files could be set by `POWERLEVEL9K_DIR_PACKAGE_FILES=(package.json composer.json)`. If you have [jq](https://stedolan.github.io/jq/) installed, it will dramatically improve the speed of this strategy.| |`truncate_with_folder_marker`|Search for a file that is specified by `POWERLEVEL9K_SHORTEN_FOLDER_MARKER` and truncate everything before that (if found, otherwise stop on $HOME and ROOT).| -|`truncate_to_unique`|Parse all parent path components and truncate them to the shortest unique length. If you copy&paste the result to a shell, after hitting TAB it should expand to the original path unambiguously.| +|`truncate_to_unique`|Parse all parent path components and truncate them to the shortest unique length. If you copy & paste the result to a shell, after hitting `TAB` it should expand to the original path unambiguously.| For example, if you wanted the truncation behavior of the `fish` shell, which truncates `/usr/share/plasma` to `/u/s/plasma`, you would use the following: |