Code Monkey home page Code Monkey logo

zsh-config's Introduction

ZSH configuration and tuning

Installing

Run ./install.sh and it'll install prereqs, back up your existing configuration, and put the new configs in place.

Manual installation

If you'd rather not trust rando scripts off the internet, here's what the install script does:

Install Prerequisites

You'll need to install a few things to get full use of this.

  • First, install Oh My ZSH
  • Next, install using Oh My ZSH - Powerline 10K
  • Then use Homebrew to install deps - brew install fzf ripgrep terminal-notifier libfido2
  • And if you don't already have it, the gcloud CLI is useful as well - brew install google-cloud-sdk

It also contains some iTerm2-specific things that may or may not matter to you. ๐Ÿคท

You will probably want to do the "optional" one-time setup steps for P10K as well (installing fonts, etc) or things might look a little weird.

Install the ZSH configurations in place

Copy the .zsh/ directory, .zprofile, and .zshrc into your home directory and start a new shell.

Configuring

The main shell configuration happens in ~/.zsh/zshrc.zsh.

You may want to tweak some of the things that it's doing, or add other random stuff in there.

In particular, you probably want to have a look at the plugins=() line and choose the set of plugins that are useful for you from the list. This is a reasonable default set of plugins, but YMMV:

plugins=(aliases aws bazel direnv docker fzf gcloud gh git history iterm2 pyenv kubectl terraform zsh-autosuggestions zsh-syntax-highlighting)

If you have shell aliases, you should stick them in ~/.zsh/aliases.zsh.

If you have specific autocompletion configuration tweaks, you should stick them in ~/.zsh/completion.zsh.

~/.zsh/p10k.zsh contains a whole bunch of configuration options for Powerline 10K. This package has my configuration, but you may want to tweak it to do some things differently - this is where you change all of those settings. See the P10k config docs for full details.

zsh-config's People

Contributors

doomgerbil avatar mend-for-github-com[bot] 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.