diff --git a/config/common.mk b/config/common.mk index 1ca7f37d..99db677c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -129,10 +129,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ vendor/cm/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml -# Don't export PS1 in /system/etc/mkshrc. -PRODUCT_COPY_FILES += \ - vendor/cm/prebuilt/common/etc/mkshrc:system/etc/mkshrc - # T-Mobile theme engine include vendor/cm/config/themes_common.mk diff --git a/prebuilt/common/etc/mkshrc b/prebuilt/common/etc/mkshrc deleted file mode 100644 index e2a55d37..00000000 --- a/prebuilt/common/etc/mkshrc +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) 2010 -# Thorsten Glaser -# This file is provided under the same terms as mksh. -#- -# Minimal /system/etc/mkshrc for Android - -: ${TERM:=vt100} ${HOME:=/data} ${MKSH:=/system/bin/sh} ${HOSTNAME:=android} -: ${SHELL:=$MKSH} ${USER:=$(typeset x=$(id); x=${x#*\(}; print -r -- ${x%%\)*})} -if (( USER_ID )); then PS1='$'; else PS1='#'; fi -function precmd { - typeset e=$? - - (( e )) && print -n "$e|" -} -PS1='$(precmd)$USER@$HOSTNAME:${PWD:-?} '"$PS1 " -export HOME HOSTNAME MKSH SHELL TERM USER -alias l='ls' -alias la='l -a' -alias ll='l -l' -alias lo='l -a -l' - -for p in ~/.bin; do - [[ -d $p/. ]] || continue - [[ :$PATH: = *:$p:* ]] || PATH=$p:$PATH -done - -unset p - -: place customisations above this line