Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 833a5971568f8b5ea189126d61d8461d039bb93c
      
https://github.com/NixOS/nixpkgs/commit/833a5971568f8b5ea189126d61d8461d039bb93c
  Author: Peter Simons <[email protected]>
  Date:   2015-11-18 (Wed, 18 Nov 2015)

  Changed paths:
    M nixos/modules/programs/bash/bash.nix

  Log Message:
  -----------
  nixos: configure bash prompt in Emacs' shell-mode, even if TERM=dumb

The idea that the interactive bash prompt isn't set in case of TERM=dumb
is intended to fix problems when other machines log remotely into a
NixOS installation via Tramp. A side-effect that change was, however,
that Emacs' shell-mode no longer had a correct prompt. I suppose the
presence of

  INSIDE_EMACS=24.5.2,comint

is a sufficiently unique indication that the current interactive shell
is running inside of an Emacs and that the prompt can thus be configured
safely.


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to