Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created December 12, 2017 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/00e8b07f729b171c1f0d8a97c5046704 to your computer and use it in GitHub Desktop.
Save grahamc/00e8b07f729b171c1f0d8a97c5046704 to your computer and use it in GitHub Desktop.
$ nix-shell -p bashInteractive
[nix-shell:~]$ screen
[screen is terminating]
[nix-shell:~]$ screen
[nix-shell:~]$ which bashg
[nix-shell:~]$ which bash
/nix/store/y6kglf8mbxvb53zz7ja7hh7h0dczkicm-bash-4.4-p12/bin/bash
[nix-shell:~]$ echo $SHELL
/nix/store/frf3zwv38djnwyqry4mclali66lqf11y-bash-4.4-p12/bin/bash
[nix-shell:~]$ SHELL=/nix/store/y6kglf8mbxvb53zz7ja7hh7h0dczkicm-bash-4.4-p12/bin/bash
[nix-shell:~]$ screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment