Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/llaumgui/my-zsh-config

My custom Oh My Zsh configuration.
https://github.com/llaumgui/my-zsh-config

oh-my-zsh shell zsh zsh-configuration

Last synced: about 6 hours ago
JSON representation

My custom Oh My Zsh configuration.

Awesome Lists containing this project

README

        

# My Zsh Config
My custom Oh My Zsh configuration.

## Install
*My Zsh Config* install *Oh My Zsh* in a system directory to be used by all users instead user's home directory.
* First installl [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh):
```bash
sudo mkdir /opt/robbyrussell
cd /opt/robbyrussell
sudo git clone https://github.com/robbyrussell/oh-my-zsh.git
```
* Install my configuration:
```bash
sudo mkdir /opt/llaumgui
cd /opt/llaumgui
sudo git clone https://github.com/llaumgui/my-zsh-config.git
```
* Deploy configuration:
```bash
sudo cp /etc/zshrc /etc/zshrc.back
sudo cp /etc/zshenv /etc/zshenv.back
sudo cat /opt/llaumgui/my-zsh-config/etc/zshrc > /etc/zshrc
sudo cat /opt/llaumgui/my-zsh-config/etc/zshenv.dist >> /etc/zshenv
```
* Enjoy !

## Setup
Just edit */etc/zshenv* for global settings or edit your personal *~/.zshrc* file for a per user configuration.

### Upgrade
*My Zsh Config* override the *Oh My Zsh* upgrade script. You upgrade *My Zsh Config* and *Oh My Zsh* in same time.

By default auto update is disabled (*DISABLE_AUTO_UPDATE*), to enable it: just put this line in your personnal *~/.zshrc*:
```bash
# Enable the bi-weekly auto-update checks.
zsh -f $ZSH/tools/check_for_upgrade.sh
```