From 74a8b35b8854e10480d2706f32bfeaabfaa2955e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Oct 2020 18:11:03 -0400 Subject: [PATCH] Allow 'hey {ch,sh}' to take arguments --- bin/hey | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hey b/bin/hey index 9296b3c3..dbd348c2 100755 --- a/bin/hey +++ b/bin/hey @@ -127,8 +127,8 @@ function main { # sh|shell) _do nix-shell "$@" ;; # repl) _do nix develop "$@" ;; - ch|check) _do nix flake check "$DOTFILES";; - sh|show) _do nix flake show "$DOTFILES" ;; + ch|check) _do nix flake check "$@" "$DOTFILES";; + sh|show) _do nix flake show "$@" "$DOTFILES" ;; t|test) _rebuild --fast test "$@" ;; re|rebuild) _rebuild "${@:-switch}" ;;