-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Vue.JSenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Having an easier way to navigate via the terminal to frequently-visited pages would be better for UX. For that, we could develop a similar functionality to CDPATH from zsh shell.
The gist of the approach is that if the given input doesn't match any command (outputs "Command not found."), then we could search for a directory with the given input as the name. If such a directory exists, then it should automatically perform the cd action with the given directory as an argument to cd, else command not found.
Since the terminal doesn't have support for env variables right now, the issue is broken down to two separate tasks.
Tasks:
- Search for input directory name in the current directory.
- Use the CDPATH env variable to search for the input directory name from the given directory paths in the variable
References:
https://jcode.me/cdpath-with-zsh/
Metadata
Metadata
Assignees
Labels
Vue.JSenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers