Code Monkey home page Code Monkey logo

zsh-config's Introduction

zsh-config

Exactly what it says. It's my zsh configuration. That means it's specific to how I like my shell to look and behave. You can use mine as it is or customize it to your own taste. But it is damn handy to be able to have my whole shell config up and running in a few shell commands!

NOTE: Make sure you have Hack or Nerd fonts installed and you have p10k and autosuggestions already in your zsh

To build and use...

  1. Clone this repo to wherever you keep your repos on the box where you want to configure zsh
  2. If you already have a ~/.zshconfig back it up and delete the original like this:
    mv ~/.zshrc ~/.zshrc_backup
    
  3. If you already have a custom folder in your oh-my-zsh folder, do the same thing
    mkdir -p ~/.oh-my-zsh/custom/backup_zsh && mv ~/.oh-my-zsh/custom/*.zsh ~/.oh-my-zsh/custom/backup_zsh/
    
  4. Symlink the .zshrc from the repo to where it usually is found
    ln -s /path/to/parent/of/zsh-config/zsh-config/.zshrc ~/.zshrc
    
    For me that looks like:
    ln -s ~/Projects/Code/zsh-config/.zshrc ~/.zshrc
    
  5. Symlink the content of the repo's custom folder to where .zsh files are normally found holding custom aliases and such for OhMyZsh to find and make part of the .zshrc
    ln -s /path/to/parent/of/zsh-config/zsh-config/custom/*.zsh ~/.oh-my-zsh/custom/
    
    For me that looks like:
    ln -s ~/Projects/Code/zsh-config/custom/*.zsh ~/.oh-my-zsh/custom
    
  6. Source your .zshrc
    source ~/.zshrc
    
  7. Source everything in the custom folder
    cd ~/.oh-my-zsh/custom/ 
    for file in *.zsh; do
       [ -r "$file" ] && [ -f "$file" ] && source "$file"
    done
    
  8. ENJOY!!

zsh-config's People

Contributors

sethderrick avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.