From 0a32439dcd0b8e4f82a31d7e24692bee56649b69 Mon Sep 17 00:00:00 2001 From: Nora Date: Mon, 25 Feb 2019 00:36:02 +0100 Subject: make the shortcuts work with global parameters like -v --- bin/khgeneric | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/khgeneric b/bin/khgeneric index cc9f0b5..6c768e7 100755 --- a/bin/khgeneric +++ b/bin/khgeneric @@ -1,4 +1,4 @@ #!/bin/zsh -echo cargo run ${${0:t}[3,$]} "$@" >&2 -cargo run ${${0:t}[3,$]} "$@" +echo cargo run -- ${${0:t}[3,$]} "$@" >&2 +cargo run -- ${${0:t}[3,$]} "$@" -- cgit v1.2.3