terminal cutomize to show current folder code example
Example 1: shrink terminal current directory
PROMPT_DIRTRIM=1
Example 2: terminal list folders with size
$ du -sh */
788K foo/
500K bar/
931K baz/
PROMPT_DIRTRIM=1
$ du -sh */
788K foo/
500K bar/
931K baz/