bin/hey: add {sh,repl} commands
This commit is contained in:
parent
f8e2746e7e
commit
aa350a6a5c
5
bin/hey
5
bin/hey
|
@ -130,9 +130,8 @@ function main {
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
[[ $# > 0 ]] && shift
|
[[ $# > 0 ]] && shift
|
||||||
case "$cmd" in
|
case "$cmd" in
|
||||||
# TODO Repl/shell for nixos+dotfiles
|
sh|shell) _do nix develop "$DOTFILES" "$@" ;;
|
||||||
# sh|shell) _do nix-shell "$@" ;;
|
repl) _do nix repl "$DOTFILES/flake.nix" "<nixpkgs>" "$@" ;;
|
||||||
# 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" ;;
|
||||||
|
|
Loading…
Reference in a new issue