Code Monkey home page Code Monkey logo

iwd's Introduction

iwd

License built for works with prezto works with ohmyzsh

Similar in concept to $PWD, this Zsh plugin saves your initial working directory in $IWD for easy returns to the starting point of your session.

Description

command description
iwd Change directory to $IWD

Installation

Install with a Zsh plugin manager

To install using a Zsh plugin manager, add the following to your .zshrc

  • antidote: antidote bundle zshzoo/iwd
  • zcomet: zcomet load zshzoo/iwd
  • zgenom: zgenom load zshzoo/iwd
  • znap: znap source zshzoo/iwd

Install manually, without a plugin manager

To install manually, first clone the repo:

git clone https://github.com/zshzoo/iwd ${ZDOTDIR:-~}/.zplugins/iwd

Then, in your .zshrc, add the following line:

source ${ZDOTDIR:-~}/.zplugins/iwd/iwd.zsh

Install for Oh-My-Zsh

To install with Oh-My-Zsh, first clone the repo from an interactive Zsh session:

# make sure your $ZSH_CUSTOM is set
ZSH_CUSTOM=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}

# now, clone the plugin
git clone https://github.com/zshzoo/iwd $ZSH_CUSTOM/plugins/iwd

Then, add the plugin to your Oh-My-Zsh plugins list in your .zshrc

# in your .zshrc, add this plugin to your plugins list
plugins=(... iwd)

Install for Prezto

To install with Prezto, first clone the repo from an interactive Zsh session:

# make sure your $ZPREZTODIR is set
: ${ZPREZTODIR:=${ZDOTDIR:-$HOME}/.zprezto}
# clone the repo to a prezto contrib dir
git clone https://github.com/zshzoo/iwd $ZPREZTODIR/contrib/iwd

Then, add the plugin to your Prezto plugins list in .zpreztorc

zstyle ':prezto:load' pmodule \
  ... \
  iwd \
  ...

iwd's People

Contributors

mattmc3 avatar

Stargazers

Vera Rei avatar Jakub Szulc avatar Luís Guimarães 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.