mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
5 lines
211 B
Text
5 lines
211 B
Text
# As narrow-to-region, but replaces the text outside the editable region
|
|
# with `...' if it was non-empty. Can be used directly as a widget.
|
|
|
|
autoload -Uz narrow-to-region
|
|
narrow-to-region -p '...' -P '...' -n
|