SublimeREPL:mesg:ttyname:设备的不适当的ioctl

时间:2014-07-02 11:01:29

标签: bash sublimetext2 sublimerepl

当我在SublimeREPL中为bash shell尝试source ~/.profile时,我得到上面的错误。任何想法如何解决这个问题?

所以这是我的.profile的内容。我在bash中启动一个bash实例我可以正常地提供东西。

##
# DELUXE-USR-LOCAL-BIN-INSERT
# (do not remove this comment)
##
echo $PATH | grep -q -s "/usr/local/bin"
if [ $? -eq 1 ] ; then
    PATH=$PATH:/usr/local/bin
    export PATH
fi

test -r /sw/bin/init.sh && . /sw/bin/init.sh

# Setting PATH for Python 2.7
# The orginal version is saved in .profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH

##
# Your previous /Users/jonathan/.profile file was backed up as /Users/jonathan/.profile.macports-saved_2013-05-18_at_17:57:46
##

# MacPorts Installer addition on 2013-05-18_at_17:57:46: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

### Added correct profile for Postgres
export PATH="Applications/Postgres.app/Contents/MacOS/bin:$PATH"

### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # startup virtualenv-burrito
    if [ -f "$HOME/.venvburrito/startup.sh" ]; then
        . "$HOME/.venvburrito/startup.sh"
    fi
fi

### Added for Amazon CLI
export JAVA_HOME=$(/usr/libexec/java_home)

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n

0 个答案:

没有答案