Last active
October 8, 2019 05:10
-
-
Save stanosmith/d29c927205acab03002a12869636d435 to your computer and use it in GitHub Desktop.
Custom iTerm2 Zsh Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you don't have this already | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
# | |
# Custom Status Bar Variables | |
# | |
iterm2_print_user_vars() { | |
# extend this to add whatever | |
# you want to have printed out in the status bar | |
iterm2_set_user_var nodeVersion $(node -v) | |
iterm2_set_user_var npmVersion $(npm -v) | |
iterm2_set_user_var pwd $(pwd) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment