diff --git a/README-MY-SETUP.md b/README-MY-SETUP.md index 13a178f57..838499362 100644 --- a/README-MY-SETUP.md +++ b/README-MY-SETUP.md @@ -46,7 +46,7 @@ Linux * install some terminal tools ```(shell) - sudo apt install exa autojump thefuck + sudo apt install exa autojump thefuck tmux ``` * install [Tilex](https://gnunn1.github.io/tilix-web/) @@ -101,6 +101,13 @@ Common Install Steps REPO=/ohmyzsh sh -c "$(curl -fsSL )" ``` + * initialize submodules + + ```(shell) + cd ~/.oh-my-zsh + git submodules update --init + ``` + * optionally configure by editing '~/.zshrc` (see [Getting Started](https://github.com/ohmyzsh/ohmyzsh/wiki#getting-started)) * I personally like to make a symbolic link so I can commit my changes to my forked config diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index b590c14cb..b808c268a 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -134,8 +134,12 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH" ZSH_ALIAS_FINDER_AUTOMATIC=true if [ $TILIX_ID ] || [ $VTE_VERSION ]; then - source /etc/profile.d/vte.sh + if [ -f /etc/profile.d/vte.sh ]; then + source /etc/profile.d/vte.sh + fi fi # comment out if you want to disable Starship and use ZSH_THEME -eval "$(starship init zsh)" +if [ -f "$HOME/.config/starship.toml" ]; then + eval "$(starship init zsh)" +fi