diff options
| author | Elliott Hughes <enh@google.com> | 2015-11-02 22:45:42 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-11-02 22:45:42 +0000 |
| commit | f254c87fb727668cb1887c2706e06c050b50226e (patch) | |
| tree | 477ce1a15f1a94330962ecee594a590275c232d2 | |
| parent | 19107cc38759509b2d0a15c1811f324db5b0f0c0 (diff) | |
| parent | d45dd20c434432988f8dec7000e0e5fba8a81176 (diff) | |
| download | platform_external_mksh-f254c87fb727668cb1887c2706e06c050b50226e.tar.gz platform_external_mksh-f254c87fb727668cb1887c2706e06c050b50226e.tar.bz2 platform_external_mksh-f254c87fb727668cb1887c2706e06c050b50226e.zip | |
Merge "adbd sets HOME/LOGNAME/SHELL/USER now."brillo-m7-releasebrillo-m7-mr-devbrillo-m7-dev
| -rw-r--r-- | mkshrc | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -6,15 +6,11 @@ # # Support: https://launchpad.net/mksh -: ${HOME:=/data} : ${HOSTNAME:=$(getprop ro.product.device)} : ${HOSTNAME:=android} -: ${MKSH:=/system/bin/sh} -: ${SHELL:=$MKSH} : ${TERM:=xterm} : ${TMPDIR:=/data/local/tmp} -: ${USER:=$(id -un)} -export HOME HOSTNAME MKSH SHELL TERM TMPDIR USER +export HOSTNAME TERM TMPDIR if (( USER_ID )); then PS1='$'; else PS1='#'; fi PS4='[$EPOCHREALTIME] '; PS1='${| @@ -23,4 +19,4 @@ PS4='[$EPOCHREALTIME] '; PS1='${| (( e )) && REPLY+="$e|" return $e -}$USER@$HOSTNAME:${PWD:-?} '"$PS1 " +}$HOSTNAME:${PWD:-?} '"$PS1 " |
