Giter Site home page Giter Site logo

zsh-config's Introduction

#ZSH configuration files My zsh configuration files. Should be reusable.

Requirements

I am using less as a pager and vim as default editor. Rest shoud be reusable.

Own configuration

Want to override some configuration and still want updates? Put it in ~/.zsh/custom. It won't be overwritten.

Installation

Just clone to .zsh/ and link ~/.zshrc to ~/.zsh/zshrc and ~/.zshenv to ~/.zsh/zshenv Do not forget to change your default shell (chsh command).

What is done?

Keybinding

  • vi mode
  • ctrl-p ctrl-n history navigation

Prompt

  • nice and sleek
  • currsor changes color when not in inser mode (works in tmux!)

Usable functions

  • zmv enabled
  • lspath - show ls -ld for all dirs on path to given file
  • few aliases (see in files, example: e and vi lauches vim, la stands for ls with some options, etc.)

Features

  • ETIME variable contains execution time of last command in seconds.
  • TAB completion, first pus shows possibilities, next pushes cycles through them
  • Autocorrection - type vim RAEDME.md and shell will prompt you about correction, also works with tab-ing dirs.
  • ~/.bin is added to your PATH
  • cd ... as ../.. and cd .... as ../../.. (actually ... is global alias, it does not narrow only to cd, try with ls).
  • RVM support
  • rbenv support

Machine based customization

  • .zsh/custom.zsh - want add aliases for your ssh or change prompt and still be able to painlessly update? do your customizations here

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.