0 votos

Me gustaría resolver el mensaje de error en el terminal de mac cada vez que lo abro. Se ejecuta durante casi un minuto cada vez que se abre el terminal

El terminal de Mac muestra el siguiente mensaje cada vez que lo abro. Se ejecuta durante un minuto y más de 1000 líneas de largo. ¿Cuál es el problema y cómo resolverlo? Al final del mensaje, el XQuartz termina y aparece un diálogo. La salida es la siguiente, seguida de la imagen correspondiente. Informe sobre el problema de XQuartz

Last login: Fri Aug 27 11:14:59 on ttys000
-bash: ===============================================================: command not found
-bash: ===============================================================: command not found
-bash: jp2a-invert/Users/username/Desktop/1.jpg: No such file or directory
/Users/atlantis/.bash_profile: line 4: ===============================================================: command not found
/Users/atlantis/.bash_profile: line 15: ===============================================================: command not found
/Users/atlantis/.bash_profile: line 36: jp2a-invert/Users/username/Desktop/1.jpg: No such file or directory
/Users/atlantis/.bash_profile: line 4: ===============================================================: command not found
/Users/atlantis/.bash_profile: line 15: ===============================================================: command not found
/Users/atlantis/.bash_profile: line 36: jp2a-invert/Users/username/Desktop/1.jpg: No such [enter image description here][1]file or directory
/Users/atlantis/.bash_profile: line 4: ===============================================================: command not found

Cuando ejecuté el comando 'cat.bash_profile' la salida es la siguiente

# added by Anaconda2 5.1.0 installer
export PATH="/anaconda2/bin:$PATH"
===============================================================
#-------------------- New command --------------------#
LOCAL_SRC=${HOME}/src # Location to store source codes locally. Change if necessary.
LOCAL_PREFIX=${HOME} # Location to install libraries locally. Change if necessary.

export LD_LIBRARY_PATH="${LOCAL_PREFIX}/lib:${LD_LIBRARY_PATH}"
export C_INCLUDE_PATH="${LOCAL_PREFIX}/include:${C_INCLUDE_PATH}"
export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include:${CPLUS_INCLUDE_PATH}"
export LIBRARY_PATH="${LOCAL_PREFIX}/lib:${LIBRARY_PATH}"
export PKG_CONFIG_PATH="${LOCAL_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}"
export PATH="${LOCAL_PREFIX}/bin:${PATH}"
===============================================================

##
# Your previous /Users/atlantis/.bash_profile file was backed up as /Users/atlantis/.bash_profile.macports-saved_2019-05-11_at_01:55:27
##

# MacPorts Installer addition on 2019-05-11_at_01:55:27: 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.

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

# Setting PATH for Python 3.9
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}"
export PATH
jp2a-invert/Users/username/Desktop/1.jpg

X

1voto

Las líneas con ===== no debería estar ahí, ni tampoco el jp2a-invert/Users/username/Desktop/1.jpg línea.

Abrir .bash_profile con el texto editor de su elección (por ejemplo nano .bash_profile ) y eliminarlos.

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X