You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using zsh in iTerm. On startup I put following commands in General to launch :
zsh (launches zsh).
However I want once the zsh launches then 2 commands execute (as we can do in terminal or iterm2) ie: ls && nvm use 4.2.3 (these must be executing inside zsh)
How to do this.
The text was updated successfully, but these errors were encountered:
@mukteshkrmishra you can put your script or command in ~/.zshenv and whenever zsh runs it will execute that piece of code.
if find your answer please close this issue
thanks
I found that using ~/.zshenv as @GreatBahram suggested made my commands run twice, at least with my configuration. You can use other configuration files if you are facing the same problem as explained here: ChrisJohnsen/tmux-MacOSX-pasteboard#23 (comment)
Hi,
I am using zsh in iTerm. On startup I put following commands in General to launch :
zsh (launches zsh).
However I want once the zsh launches then 2 commands execute (as we can do in terminal or iterm2) ie: ls && nvm use 4.2.3 (these must be executing inside zsh)
How to do this.
The text was updated successfully, but these errors were encountered: