summaryrefslogtreecommitdiff
path: root/lib/termsupport.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-03-05 13:08:05 +0100
committerGitHub <noreply@github.com>2020-03-05 13:08:05 +0100
commit2f345a3d0c9a94891c909a9ae6f6e2e2dc6df5b2 (patch)
treeb7879bb45a2b72b85e27297ee55f40090300928f /lib/termsupport.zsh
parentecf2240b061215224e9502f6c0569dfc66e58ebc (diff)
downloadzsh-2f345a3d0c9a94891c909a9ae6f6e2e2dc6df5b2.tar.gz
zsh-2f345a3d0c9a94891c909a9ae6f6e2e2dc6df5b2.tar.bz2
zsh-2f345a3d0c9a94891c909a9ae6f6e2e2dc6df5b2.zip
shrink-path: added glob and quote options (#7694)
* Added -g option to shrink-path plugin. The new optins adds an asterix to the uniquely shortened name, such that, if copy'n'pasted, zsh globbing will expand to the full path name of the shortened path: shrink-path -g: "/net/software/modules/modulefiles" -> "/n*/s*/modules/m*" shrink-path -l -g: "/net/software/modules/modulefiles" -> "/n*/s*/modules/modulefiles" * Updated also the README file with the new -g option. * shrink-path: improved handling of special cases This commits improves the handling of special cases in path strings: - handling of white space in path names - handling of single-letter path names * Update plugins/shrink-path/README.md Co-Authored-By: Jacob Tomaw <jacob.tomaw@gmail.com> * Fix typo "Asterix" and replace with "asterisk" * Add optional quoting support to shrink_path Co-authored-by: Jacob Tomaw <jacob.tomaw@gmail.com>
Diffstat (limited to 'lib/termsupport.zsh')
0 files changed, 0 insertions, 0 deletions