Skip to content

valentinocossar/oh-my-custom-zsh

Repository files navigation

Oh My Custom Zsh

Custom Oh My Zsh folder and other utilities.

DISCLAIMER: this repo is specific for my personal workflow and configuration. Don't use it as is, fork and customize if you like it.

Getting Started

Prerequisites

IMPORTANT: install prerequisites before install Oh My Custom Zsh.

  • Xcode - recommended install from Mac App Store
  • Command Line Tools - recommended install with xcode-select --install
  • Homebrew - recommended install from website
  • Oh My Zsh - recommended install with curl
  • fnm - recommended install with brew install fnm
  • Python - recommended install with brew install python
  • pwgen - recommended install with brew install pwgen
  • Golang - recommended install with brew install go (run test -d "${GOPATH}" || mkdir "${GOPATH}" and test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com" after install)
  • Composer - recommended install with brew install composer
  • Duti - recommended install with /$ZSH_CUSTOM/duti/installer.sh
  • dnsmasq - recommended install with /$ZSH_CUSTOM/dnsmasq/installer.sh

Basic Installation

  1. Clone this repository in your $HOME folder.
git clone https://github.com/valentinocossar/oh-my-custom-zsh.git ~/.oh-my-custom-zsh
  1. If your default shell is already /bin/zsh, backup (if you want) and delete these two files.
rm ~/.zshrc
rm ~/.zprofile
  1. Create symbolic links of .zshrc and .zprofile into your $HOME folder.
ln -s $HOME/.oh-my-custom-zsh/zfiles/.zshrc $HOME/.zshrc
ln -s $HOME/.oh-my-custom-zsh/zfiles/.zprofile $HOME/.zprofile
  1. Start a new terminal session.

  2. Install all custom themes and plugins.

  3. Create symbolic link of .spaceshiprc.zsh into your $HOME folder.

ln -s $HOME/.oh-my-custom-zsh/spaceship/.spaceshiprc.zsh $HOME/.spaceshiprc.zsh
  1. Create symbolic link of .gitconfig into your $HOME folder.
ln -s $HOME/.oh-my-custom-zsh/git/.gitconfig $HOME/.gitconfig
  1. Create symbolic link of .gitignore_global into your $HOME folder.
ln -s $HOME/.oh-my-custom-zsh/git/.gitignore_global $HOME/.gitignore_global

Using Oh My Custom Zsh

Custom plugins

  • vscode - git clone https://github.com/valentinocossar/vscode $ZSH_CUSTOM/plugins/vscode
  • zsh-autosuggestions - git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
  • zsh-interactive-cd - git clone https://github.com/changyuheng/zsh-interactive-cd $ZSH_CUSTOM/plugins/zsh-interactive-cd
  • zsh-syntax-highlighting - git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

Custom themes

Composer global packages

NPM global packages

  • gulp - run npm i -g gulp
  • htmlhint - run npm i -g htmlhint
  • prettier - run npm i -g prettier
  • standard - run npm i -g standard

Other Homebrew formulas

  • 1password-cli (cask)
  • ack
  • ansible
  • azure-cli
  • b2-tools
  • bat
  • ctop
  • gh
  • gnupg
  • hey
  • hssh (brew tap heply/tap)
  • httpie
  • maclaunch
  • mas
  • mysql-client
  • nmap
  • openssl
  • [email protected] (brew install [email protected] && brew link --force [email protected])
  • pyenv
  • speedtest (brew tap teamookla/speedtest)
  • teleport
  • terraform
  • testssl
  • trash
  • tree
  • watch
  • wget
  • wp-cli
  • zbar

Authors

Releases

No releases published

Packages

No packages published