https://github.com/tobilg/iterm2-ohmyzsh-config
Configuration for iTerm2 and oh-my-zsh
https://github.com/tobilg/iterm2-ohmyzsh-config
Last synced: 7 months ago
JSON representation
Configuration for iTerm2 and oh-my-zsh
- Host: GitHub
- URL: https://github.com/tobilg/iterm2-ohmyzsh-config
- Owner: tobilg
- License: mit
- Created: 2017-08-18T08:33:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-28T20:56:14.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T04:51:45.312Z (9 months ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iTerm2 and oh-my-zsh setup
Configuration for iTerm2 and oh-my-zsh
## Steps
### Install iTerm2
Go and [download](https://www.iterm2.com/downloads.html) iTerm2. Double-click for starting the installation.
### Install oh-my-zsh
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```
### Change the iTerm2 theme
See the [solarized theme instructions](https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized):
> Open iTerm 2, open Preferences, click on the "Profiles" icon in the preferences toolbar, then select the "colors" tab. Click on the "load presets" and select "import...". Select the Solarized Light or Dark theme file.
### Download oh-my-zsh theme
Clone the [agnoster](https://github.com/agnoster/agnoster-zsh-theme) into the oh-my-zsh theme folder:
```bash
git clone https://github.com/agnoster/agnoster-zsh-theme.git ~/.oh-my-zsh/custom/themes/agnoster
```
Then, activate the theme by editing the `ZSH_THEME` env var in `~/.zshrc` to have the following content:
```bash
ZSH_THEME="agnoster"
```
Close iTerm2 and open it again.
### Install font
Suggested font is [SourceCodePro Medium for Powerline](https://github.com/powerline/fonts/blob/master/SourceCodePro/Source%20Code%20Pro%20Medium%20for%20Powerline.otf). Download and activate it.
Open iTerm 2, open Preferences, click on the "Profiles" icon in the preferences toolbar, then select the "Text" tab. Click on the "Change font" button and select the `SourceCodePro Medium for Powerline` font and change the size to 14px.
### Set default user
To gain a little space in the terminal, you can set the `DEFAULT_USER` in the `~/.zshrc` file to your default user.