1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2025-04-24 17:12:19 +02:00
Christo Kotze 21b7749075 Added truncatePath to utilities.zsh
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.
2018-02-19 22:00:15 +04:00
..
2018-01-05 13:20:48 +04:00
2017-12-14 15:20:02 -05:00