summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-12-01 14:00:55 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-12-01 14:00:55 +0000
commit550a95a3d7c74a7090000d07a01eea0974454a86 (patch)
tree79bb1160be112d2e749c8f9c00d975a3102fc53b /share
parent7335065d20c6573d0327e3da424113849ab827c9 (diff)
Change def -shell-params to def -params and take the counts as parameters
Diffstat (limited to 'share')
-rw-r--r--share/kak/kakrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/kak/kakrc b/share/kak/kakrc
index f7edadf5..3c49bd93 100644
--- a/share/kak/kakrc
+++ b/share/kak/kakrc
@@ -1,11 +1,11 @@
-def -shell-params runtime %{ %sh{
+def -params 1.. runtime %{ %sh{
while [ $# -gt 0 ]; do
echo "source '${kak_runtime}/$1'"
shift
done
}}
-def -shell-params -docstring "colorscheme <name>: enable named colorscheme" \
+def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
-shell-completion %{
prefix=${1:0:${kak_pos_in_token}}
(