nixpkgs/pkgs/misc/my-env/loadenv.sh

14 lines
201 B
Bash
Raw Normal View History

#!/bin/sh
OLDPATH="$PATH"
OLDTZ="$TZ"
source @myenvpath@
PATH="$PATH:$OLDPATH"
export PS1="\n@name@:[\u@\h:\w]\$ "
export buildInputs
export NIX_STRIP_DEBUG=0
export TZ="$OLDTZ"
exec @shell@ --norc