1
0
Fork 0

remove override

This commit is contained in:
Andrey Orst 2018-09-24 12:14:39 +03:00
parent 91c7ee8f99
commit 538c80113f

View file

@ -10,9 +10,8 @@ want to resource kakrc plugin would not provide any warnings.
Good code: Good code:
```kak ```kak
define-command -override -hidden -docstring \ define-command -hidden -docstring \
"This is an example of adding new fzf-mode command. "This is an example of adding new fzf-mode command.
Note that '-override' is used since script should always be resourceable
If shell scripting is involved please follow POSIX standards, and test If shell scripting is involved please follow POSIX standards, and test
your code in POSIX shells, like 'dash', 'ash', and popular POSIX-compatible your code in POSIX shells, like 'dash', 'ash', and popular POSIX-compatible
shells, like 'bash' and 'zsh' You earn bonus points if your script works in 'fish'. shells, like 'bash' and 'zsh' You earn bonus points if your script works in 'fish'.
@ -58,7 +57,7 @@ and fallback to another if not. Is so `fzf` can be called from shell expansion `
Good code: Good code:
```kak ```kak
define-command -override -hidden -docstring \ define-command -hidden -docstring \
"This is an example of using fzf command from shell expansion. "This is an example of using fzf command from shell expansion.
Note that first argument should be used with escaped '$1'. This is intentional Note that first argument should be used with escaped '$1'. This is intentional
because you will echo whole command out of shell expansion and without escaping '$1' because you will echo whole command out of shell expansion and without escaping '$1'