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"
|
||||
[[ $# > 0 ]] && shift
|
||||
case "$cmd" in
|
||||
# TODO Repl/shell for nixos+dotfiles
|
||||
# sh|shell) _do nix-shell "$@" ;;
|
||||
# repl) _do nix develop "$@" ;;
|
||||
sh|shell) _do nix develop "$DOTFILES" "$@" ;;
|
||||
repl) _do nix repl "$DOTFILES/flake.nix" "<nixpkgs>" "$@" ;;
|
||||
|
||||
ch|check) _do nix flake check "$@" "$DOTFILES";;
|
||||
sh|show) _do nix flake show "$@" "$DOTFILES" ;;
|
||||
|
|
Loading…
Reference in a new issue