summaryrefslogtreecommitdiff
path: root/TESTS.md
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-19 21:00:15 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-19 21:00:15 +0300
commit21b7749075a2af48dd52dcd93e3d3d4f8e63d0c4 (patch)
tree8a9c44012d5f42184e2d5d0d9b75a7bbfe8ae2ba /TESTS.md
parent58342612eb8ac178e53779224eb6fd00bb7a4649 (diff)
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.
Diffstat (limited to 'TESTS.md')
0 files changed, 0 insertions, 0 deletions