diff options
-rw-r--r-- | hm/soispha/conf/zsh/config/command_not_found.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hm/soispha/conf/zsh/config/command_not_found.sh b/hm/soispha/conf/zsh/config/command_not_found.sh index f3339451..20e3aa0e 100644 --- a/hm/soispha/conf/zsh/config/command_not_found.sh +++ b/hm/soispha/conf/zsh/config/command_not_found.sh @@ -29,6 +29,10 @@ command_not_found_handle() { # These will not return 127 if they worked correctly. + >&2 cat <<EOF +The program '$cmd' is currently not installed. A shell will be opened +with it. +EOF if nix build "$toplevel#$attrs" --no-link; then nix shell "$toplevel#$attrs" return $? |