ceph/ceph-menv/.menvrc
Yehuda Sadeh 30bebc266c ceph-menv: mrun shell environment
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-05-21 13:51:16 -07:00

17 lines
326 B
Plaintext

MENV_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
export PATH=${MENV_ROOT}/bin:$PATH
alias mset='source $MENV_ROOT/mset.sh'
case "$TERM" in
xterm-*color)
PS1='\[\033[$MRUN_PROMPT_COLOR;1m\]${MRUN_PROMPT}\[\033[00m\]'${PS1}
;;
*)
PS1='${MRUN_PROMPT}'${PS1}
;;
esac
export MRUN_CEPH_ROOT=$HOME/ceph