bin/hey: add {sh,repl} commands

This commit is contained in:
Henrik Lissner 2020-12-20 20:08:31 -05:00
parent f8e2746e7e
commit aa350a6a5c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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" ;;