Skip to content

Commit

Permalink
make for clean shell when TERM=dumb to keep emacs tramp happy
Browse files Browse the repository at this point in the history
  • Loading branch information
adam committed Feb 16, 2010
1 parent d7ee94e commit e7fe487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .shared_env
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sh_load_status () {
fi

# \e[0K is clear to right
if [ -n "$shell_interactive" ]; then
if [ -n "$shell_interactive" ] && [ "$TERM" != 'dumb' ]; then
_text="${_this_shell}${_this_script}: $*... "
_text="${_text//\/home\//~}"
echo -e -n "\r\e[0K$_text$debug"
Expand Down

0 comments on commit e7fe487

Please sign in to comment.