summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora <nora.widdecke@tu-bs.de>2019-02-25 00:36:02 +0100
committerNora <nora.widdecke@tu-bs.de>2019-02-25 00:36:02 +0100
commit0a32439dcd0b8e4f82a31d7e24692bee56649b69 (patch)
tree8470a917c3c9dafb477d4b866a15d85e700ffb0d
parentf236acf855de423e84faf6f5cd93a596ee02863b (diff)
make the shortcuts work with global parameters like -v
-rwxr-xr-xbin/khgeneric4
1 files 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,$]} "$@"