Last active
March 29, 2024 15:33
-
-
Save outrowender/81fa284d840e6e24af4b0b63c1435196 to your computer and use it in GitHub Desktop.
My Quick ZSH config (macOS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Install Oh-my-zsh running: | |
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# 2. Run the following command: | |
# open -a TextEdit ~/.zshrc | |
# 3. Paste and replace this whole file in it, including comments. | |
# 4. Run: | |
# source ~/.zshrc | |
# 5. Run | |
# git clone https://github.com/zsh-users/zsh-autosuggestions $ZSHPLUGINS/zsh-autosuggestions | |
# DONE! | |
# export main folders for terminal | |
export ZSH="$HOME/.oh-my-zsh" | |
export ZSHPLUGINS="$ZSH/custom/plugins" | |
# set theme: | |
# https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
ZSH_THEME="simple" | |
# Plugins: | |
# zsh-autosuggestions | |
source $ZSHPLUGINS/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# enable plugins | |
plugins=(git zsh-autosuggestions) | |
# finnaly initialize oh-my-zsh | |
source $ZSH/oh-my-zsh.sh | |
# custom aliases | |
alias zshconfig="open -a TextEdit ~/.zshrc" | |
alias zshreload="source ~/.zshrc" | |
alias cls=clear | |
alias CLS=clear | |
alias xcode-clean="rm -rf ~/Library/Developer/Xcode/DerivedData" | |
# Setup your path from here: | |
# export PATH=$PATH:~/development/flutter/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment