Giter Club home page Giter Club logo

zgen-configuration's Introduction

zgen-configuration

This repo contains my personal zgen configuration (that may be used to get up and running quickly).

Installation

  1. Clone the repo on your machine:
git clone --recursive [email protected]:wuotr/zgen-configuration.git ~/.zgen

(I use a .zgen folder in my homedir, but you can use any location you want really.)

  1. Create a symlink to the .zshrc file in the .zgen folder:
ln -s .zgen/.zshrc .zshrc
  1. Change your shell to zsh:
chsh -s /bin/zsh

Or if you installed zsh via Homebrew (which I really recommend since the brew verson is more recent than the one shipped with OSX):

chsh -s /usr/local/bin/zsh

(Please make sure the /usr/local/bin/zsh path is added to your /etc/shells file. Otherwise OSX will start complaining.)

That's it... Now zgen should generate its init.zsh file and get you up and running. If you want to verify the correct zsh installation is used (in case of the Homebrew version for example), you can execute this command to print the path to the current zsh executable:

echo $SHELL

Notes

  • Remember to run zgen update after making changes to your .zshrc file (if you want to add plugins / themes for example).
  • You may need to edit the PATH environment variable towards your setup.
  • If you create a ~/.zshrc.local file in your homedir, it's content (scripts) will be loaded as well. So you don't have to touch the .zshrc file per sé.
  • My theme (Bullet Train) needs a "Powerline enabled font" to run as intended. If you use it without, no arrows / git icons will be shown. Some of the available fonts can be found in this repo.

Other useful links

If you use the zsh-history-substring-search plugin, you need to add this little script after the zgen configuration (or in your zshrc.local file if you have one) to make the arrow keys work:

# (Zsh) "zsh-history-substring-search" plugin
# -----------------------------------------------------
# => Key bindings (for UP and DOWN arrow keys)
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down

zgen-configuration's People

Contributors

wuotr avatar

Watchers

Roberto Dries 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.