From af120ab348f2e1a5a39dec035ed9dcf84189a64e Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 3 Oct 2022 21:42:20 +0530 Subject: dotfiles --- zsh/oh-my-zsh/plugins/shrink-path/README.md | 116 ++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 zsh/oh-my-zsh/plugins/shrink-path/README.md (limited to 'zsh/oh-my-zsh/plugins/shrink-path/README.md') diff --git a/zsh/oh-my-zsh/plugins/shrink-path/README.md b/zsh/oh-my-zsh/plugins/shrink-path/README.md new file mode 100644 index 0000000..71a242b --- /dev/null +++ b/zsh/oh-my-zsh/plugins/shrink-path/README.md @@ -0,0 +1,116 @@ +# shrink-path + +A plugin to shrink directory paths for brevity and pretty-printing. + +To use it, add `shrink-path` to the plugins array in your zshrc file: + +```zsh +plugins=(... shrink-path) +``` + +## Examples + +For this directory tree: +``` +/home/ + me/ + f o o/ # The prefix f is ambiguous between "f o o" and "f i g". + bar/ + quux/ + biz/ # The prefix b is ambiguous between bar and biz. + f i g/ + baz/ +``` +here are the results of calling `shrink_path