An open API service indexing awesome lists of open source software.

https://github.com/andreaconti/auto-cd

zsh plugin to auto jump into the last visited folder
https://github.com/andreaconti/auto-cd

Last synced: 8 months ago
JSON representation

zsh plugin to auto jump into the last visited folder

Awesome Lists containing this project

README

          

# Auto-cd

I find really useful open many shells in the same folder and is really annoying for each of them `cd` in that folder, even using the awesome z plugin.

auto-cd simply remembers the last folder you visited using `cd` and when you will open a new shell it will automatically jump into it.

## Install

- manual installation in oh-my-zsh

To manually install in oh-my-zsh you need to download and copu inside
`$ZSH_CUSTOM/plugins`

```zsh
git clone https://github.com/andreaconti/auto-cd $ZSH_CUSTOM/auto-cd
```
Then activate in your `.zshrc`.

```zsh
plugins=(auto-cd)
```

- antigen

Installing using antigen is quite simple:

```zsh
antigen bundle andreaconti/auto-cd
```

## Options

`auto-cd` provided few options:

- AUTO_CD_HOME, the default folder into which to jump if there is no previous `cd`
- AUTO_CD_NO_AUTO_LS, bool, if true disables auto-ls once entered in the new folder