mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-26 14:00:08 +00:00
21b7749075
Added `function truncatePath()` to utilities.zsh to take care of truncation. This is pure zsh code, without calls to `sed`. Parameters are: * $1 Path: string - the directory path to be truncated * $2 Length: integer - length to truncate to * $3 Delimiter: string - the delimiter to use * $4 From: string - "right" | "middle". If omited, assumes right. Cleaned up code to use the new function instead. |
||
---|---|---|
.. | ||
colors.zsh | ||
icons.zsh | ||
utilities.zsh | ||
vcs.zsh |