Show the name of environment in shell prmpt.

FossilOrigin-Name: b79f45a4c586f9a05ebed3d967fbc3e247f54f404f58d38f12d41dff63b85e4a
bsdmakefiles
7u83@mail.ru 9 years ago
parent fb7acb567c
commit 2338afffc3
  1. 4
      tools/openwrtenv.sh

@ -14,5 +14,7 @@ export CC=mips-openwrt-linux-uclibc-gcc
export LD=mips-openwrt-linux-uclibc-ld
export AR=mips-openwrt-linux-uclibc-ar
/bin/bash
#bash --rcfile <(cat ~/.bashrc; echo 'PS1="OpenWrtEnv:\w\$"')
echo 'export PS1="OpenWrtEnv:\w\$ "' > /tmp/brc
bash --rcfile /tmp/brc

Loading…
Cancel
Save