mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 21:54:34 +00:00
6 lines
211 B
Plaintext
6 lines
211 B
Plaintext
# 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
|