Allow 'hey {ch,sh}' to take arguments
This commit is contained in:
parent
894495d76b
commit
74a8b35b88
4
bin/hey
4
bin/hey
|
@ -127,8 +127,8 @@ function main {
|
||||||
# sh|shell) _do nix-shell "$@" ;;
|
# sh|shell) _do nix-shell "$@" ;;
|
||||||
# repl) _do nix develop "$@" ;;
|
# repl) _do nix develop "$@" ;;
|
||||||
|
|
||||||
ch|check) _do nix flake check "$DOTFILES";;
|
ch|check) _do nix flake check "$@" "$DOTFILES";;
|
||||||
sh|show) _do nix flake show "$DOTFILES" ;;
|
sh|show) _do nix flake show "$@" "$DOTFILES" ;;
|
||||||
|
|
||||||
t|test) _rebuild --fast test "$@" ;;
|
t|test) _rebuild --fast test "$@" ;;
|
||||||
re|rebuild) _rebuild "${@:-switch}" ;;
|
re|rebuild) _rebuild "${@:-switch}" ;;
|
||||||
|
|
Loading…
Reference in a new issue