• Marc Cornellà's avatar
    shrink-path: added glob and quote options (#7694) · 2f345a3d
    Marc Cornellà authored
    * 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: 's avatarJacob Tomaw <jacob.tomaw@gmail.com>
    
    * Fix typo "Asterix" and replace with "asterisk"
    
    * Add optional quoting support to shrink_path
    Co-authored-by: 's avatarJacob Tomaw <jacob.tomaw@gmail.com>
    2f345a3d
Name
Last commit
Last update
.github Loading commit data...
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
oh-my-zsh.sh Loading commit data...