ofirgall / zsh-conf

Extensible zsh config powered by zinit + oh-my-zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zsh Config

Extensible zsh config powered by zinit + oh-my-zsh.

Installation

mv ~/.zshrc ~/.zshrc_bakup # Backup your zshrc

git clone --depth=1 https://github.com/ofirgall/zsh-conf ~/.zsh-conf/ # Clone zsh-conf
ln -s ~/.zsh-conf/entrypoint.zsh ~/.zshrc # Link ~/.zshrc to point to ~/.zsh-conf/entrypoint.zsh
ln -s ~/.zsh-conf/env.zsh ~/.zshenv # Link ~/.zshenv to point to ~/.zsh-conf/env.zsh

# Generate personal zsh config folder
mkdir ~/.my-zsh-conf/
cp ~/.zsh-conf/vars.zsh ~/.my-zsh-conf/

Remove starship.toml symlink (generated by zsh-conf)

rm ~/.config/starship.toml

Plugins

Extend

Every config file that is being sourced from ~/.zsh-conf/ is also being sourced from ~/.my-zsh-conf/. In addition ~/.my_zshrc is loaded as well.

For example in order to add aliases you should create ~/.my-zsh-conf/aliases.zsh and add them there. You can add them in ~/.my_zshrc as well.

You can extend starship.toml as well.

Config loading order

About

Extensible zsh config powered by zinit + oh-my-zsh

License:MIT License


Languages

Language:Shell 100.0%