Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zsh] Shorten _truncated_ls by using more builtins
- Fixed off-by-one issue with _right_align, causing a remaining space at the right-most side. - Avoid `wc -m` by using ${#var} syntax - Avoid the loop in _right_align by using printf - Use herestrings to avoid calls to `echo -E` - There shouldn't ever be more than 3 forks caused by running `cd` now. Hopefully this should keep cd from hanging for a second when my machine is under heavy load.
- Loading branch information