summaryrefslogtreecommitdiff
path: root/plugins/shrink-path
AgeCommit message (Collapse)Author
2021-05-21feat(shrink-path): add ability to toggle off path shrinking (#9794)Marc Cornellà
2020-03-05shrink-path: added glob and quote options (#7694)Marc Cornellà
* 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>
2020-03-02shrink-path: add minimum length and ellipsis symbol options (#7382)Pavel N. Krivitsky
* Added minimum length and ellipsis symbol options for the shrink-path plugin. * Replaced tab indentation with space indentation for the shrink-path plugin. * Added handling of multicharacter ellipsis, and updated documentation and README for the shrink-path plugin.
2018-08-07use https everywhere (#6574)Janosch Schwalm
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
2018-05-26shrink-path: match only the beginning of the directory (#6862)Marc Cornellà
Fixes #6317
2018-05-26Update shrink-path to use cd -q for bypassing the chpwd callbacksKaleb Elwert
2018-05-26Revert "unset chpwd_functions before running cd ... (#6830)"Marc Cornellà
This reverts commit 3dab7e46e8815838c8099040e11a7ae9a30ba03d.
2018-05-17unset chpwd_functions before running cd to work with the path, to avoid ↵dt-rush
side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls (#6830)
2016-08-11Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) (#5262)Shiv Venkatasubrahmanyam
* Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) * Add a README