- Published on
Setting up your best mac terminal
- Authors
- Name
- Edgar Gago Carrillo
- @gagocarilloedgar
Setting up your best mac terminal
In this blog you'll learn the steps to easilly configure your mac terminal so it looks, feels and works better than the default one.
Iterm installation:
With command
brew install --cask iterm2
# Install
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
And set ==ZSH_THEME="powerlevel10k/powerlevel10k"== inside ==~/.zshrc ==.
To do so simply open the terminal and type:
# Open it with your text editor (I use vscode)
code ~/.zshrc
And copy paste ==ZSH_THEME="powerlevel10k/powerlevel10k"== inside. Save, quit your iterm, and done.
Now, you can run the p10k setup comman:
# Clone the ohmyzsh tool
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
cd ~/.zsh/
git clone https://github.com/zsh-users/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-completions
Now go to the zshrc config file (p10k configuration) to add the plugins we just downloaded
code ~/.zshrc
And copy paste the following config files bellow ZSH_THEME="powerlevel10k/powerlevel10k"
ZSH_THEME="powerlevel10k/powerlevel10k"
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.zsh/zsh-completions/zsh-completions.plugin.zsh