Skip to content

Commit

Permalink
nix-shell -> environment
Browse files Browse the repository at this point in the history
  • Loading branch information
haslersn committed Sep 16, 2018
1 parent 220f78b commit 0662384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/nix-shell-info
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ if [[ $IN_NIX_SHELL != "" ]] || [[ $IN_NIX_RUN != "" ]]; then
output=$(echo $output $additional_pkgs | tr ' ' '\n' | sort -u | tr '\n' ' ' | xargs)
printf "$output"
else
printf "[unknown nix-shell]"
printf "[unknown environment]"
fi
printf "\033[0m"
elif [[ $ANY_NIX_SHELL_EXIT_STATUS ]]; then
if [[ $ANY_NIX_SHELL_EXIT_STATUS == 0 ]]; then
printf "\033[1;36mexited nix-shell\033[0m"
printf "\033[1;36mexited environment\033[0m"
else
printf "\033[1;31mERROR\033[0m"
fi
Expand Down

0 comments on commit 0662384

Please sign in to comment.