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
- Host: GitHub
- URL: https://github.com/andreaconti/auto-cd
- Owner: andreaconti
- Created: 2020-10-03T11:35:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-03T11:49:57.000Z (over 5 years ago)
- Last Synced: 2025-03-30T15:13:17.077Z (about 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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