Comments (2)
My recommendation would be to use the Zsh builtin feature of named directories:
hash -d api=/path/to/api
That way you can type
cd ~api
And you're there. If you enable setopt CDABLE_VARS
, you don't have to type the tilde:
cd api
And if you enable setopt AUTOCD
, you can just type
api
from zsh-z.
Thanks for the quick response, I'll take that approach
from zsh-z.
Related Issues (20)
- Strange file created in home directory HOT 3
- Fzf Integration HOT 2
- Feature request: Navigate up 'n' directories HOT 4
- Info: Ranger plugin HOT 5
- When setting `ZSHZ_DATA` to an XDG basedir location, the directory doesn't get created HOT 2
- Machine arm64 not supported by this plugin HOT 2
- Use preexec hook to also index the files from the commnd line
- doesn't work with prezto: "pmodload: no such module: zsh-z" HOT 1
- Autocompletion with `zap` package manager HOT 6
- Completion doesn't work HOT 7
- tmpfd file error on macOS / zinit installation HOT 1
- `ZSHZ[CHOWN,RM,MV]` aren't set when user loads zsh/files early HOT 2
- Performance Delay After Using z Command to Navigate Directories HOT 6
- [Need help]How to set the variables for zsh-z? HOT 6
- zsh-z fails to work if `.z` is mapped to docker host file HOT 2
- `z` suggestions fallback to `cd` suggestions
- z into a folder with same name as current folder HOT 3
- Directly cd in $HOME when no arguments passed HOT 2
- Tab suggestions no longer working HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsh-z.