You can use this repo to configure your ZSH Tmux and Prezto terminal.
This project is based on the original Prezto Repo.
Open a terminal window. Copy & paste the following into the terminal window and hit Return
. You may be prompted to enter your password.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install zsh
Copy & paste the following into the terminal window and hit Return
.
-
Install Homebrew
ruby -e "$(curl -fsSL https://raw.zshhubusercontent.com/Homebrew/install/master/install)" brew doctor
-
Instll ZSH
brew install zsh
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install tmux
brew install tmux
-
Launch Zsh:
zsh
-
Clone the repository:
git clone --recursive https://github.com/alisezer/my-terminal.git "${ZDOTDIR:-$HOME}/.my-terminal"
-
Create a new Zsh configuration by copying the Zsh configuration files provided:
setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.my-terminal/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done
Note: If you already have any of the given config files, ln will error. In simple cases you can add
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
to the bottom of your.zshrc
to load prezto but keep your config intact. For more complicated setups, it is recommended that you back up your original configs and replace them with the provided prezto runcoms. -
Set Zsh as your default shell:
chsh -s /bin/zsh
-
Open a new Zsh terminal window or tab.
Run zprezto-update
to automatically check if there is an update to zprezto.
If there are no file conflicts, zprezto and its submodules will be
automatically updated. If there are conflicts you will instructed to go into
the $ZPREZTODIR
directory and resolve them yourself.
To pull the latest changes and update submodules manually:
cd $ZPREZTODIR
git pull
git submodule update --init --recursive
For anything else, please refer to the original prezto repo.