J'ai démarré XTerm aujourd'hui et, pour une raison quelconque, ZSH imprime ce qui ressemble à env
lorsque mon shell démarre. Je me demande s'il y a un moyen de trouver ce qui fait cela afin que je puisse le désactiver. Voici la sortie au démarrage de l'interpréteur de commandes
Last login: Wed Jul 11 19:22:03 on ttys000
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.G1oq8Ke9bW/Render
COLORFGBG='7;0'
COLORTERM=truecolor
DISPLAY=/private/tmp/com.apple.launchd.tY95B5y3iQ/org.macosforge.xquartz:0
GPG_TTY=/dev/ttys000
HOME=/Users/joshuastroup
ITERM_PROFILE=Default
ITERM_SESSION_ID=w0t0p0:AF741932-F358-4C2C-9A23-47134F004CE3
LANG=en_US.UTF-8
LOGNAME=joshuastroup
OLDPWD=/Users/joshuastroup
PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/joshuastroup/.nvm/versions/node/v8.9.3/bin:/usr/local/Cellar/php/7.2.6/bin:/Users/joshuastroup/bin:/Users/joshuastroup/binaries'
PWD=/Users/joshuastroup
SHELL=/bin/zsh
SHLVL=1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.8a9z6UEe0q/Listeners
TERM=xterm-256color
TERM_PROGRAM=iTerm.app
TERM_PROGRAM_VERSION=3.1.7
TERM_SESSION_ID=w0t0p0:AF741932-F358-4C2C-9A23-47134F004CE3
TMPDIR=/var/folders/75/kd4myl4s32l596p9fqhxv_pr0000gn/T/
USER=joshuastroup
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
__CF_USER_TEXT_ENCODING=0x0:0:0
Voici le résultat de l'opération env
[~] env 19:23:54
TERM_SESSION_ID=w0t0p0:AF741932-F358-4C2C-9A23-47134F004CE3
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.8a9z6UEe0q/Listeners
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.G1oq8Ke9bW/Render
COLORFGBG=7;0
ITERM_PROFILE=Default
XPC_FLAGS=0x0
LANG=en_US.UTF-8
PWD=/Users/joshuastroup
SHELL=/bin/zsh
TERM_PROGRAM_VERSION=3.1.7
TERM_PROGRAM=iTerm.app
PATH=/usr/local/Cellar/php/7.2.6/bin:/Users/joshuastroup/bin:/usr/local/bin:/Users/joshuastroup/binaries:/usr/local/opt/go/libexec/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/joshuastroup/.nvm/versions/node/v8.9.3/bin:/usr/local/Cellar/php/7.2.6/bin:/Users/joshuastroup/bin:/Users/joshuastroup/binaries
DISPLAY=/private/tmp/com.apple.launchd.tY95B5y3iQ/org.macosforge.xquartz:0
COLORTERM=truecolor
TERM=xterm-256color
HOME=/Users/joshuastroup
TMPDIR=/var/folders/75/kd4myl4s32l596p9fqhxv_pr0000gn/T/
USER=joshuastroup
XPC_SERVICE_NAME=0
LOGNAME=joshuastroup
__CF_USER_TEXT_ENCODING=0x0:0:0
ITERM_SESSION_ID=w0t0p0:AF741932-F358-4C2C-9A23-47134F004CE3
SHLVL=1
OLDPWD=/Users/joshuastroup
GPG_TTY=/dev/ttys000
ZSH=/Users/joshuastroup/.oh-my-zsh
PAGER=less
LESS=-R
LC_CTYPE=en_US.UTF-8
LSCOLORS=Gxfxcxdxbxegedabagacad
NVM_DIR=/Users/joshuastroup/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/Users/joshuastroup/.nvm/versions/node/v8.9.3/bin
_=/usr/bin/env