1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-18 02:30:07 +00:00
powerlevel10k/functions
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
..
colors.zsh Merge pull request #681 from Stazer/tcolor-warning 2018-01-30 16:44:27 -05:00
icons.zsh Updates to functions/icons.zsh 2018-01-05 13:20:48 +04:00
utilities.zsh Added truncatePath to utilities.zsh 2018-02-19 22:00:15 +04:00
vcs.zsh Merge branch 'master' into next 2017-12-14 15:20:02 -05:00