Would love to have alias for file paths
Souvikns opened this issue · comments
One use case I particularly like is saving an alias
in .bashrc
to jump to the desired path of my choice I believe that is the fastest. For example, I save alias project="cd /home/skd/Documents/project"
and then in terminal I write project
and voila I am in that directory. Now the issues I have is to update these alias I have to open my .bashrc
file and update it, same for viewing all the aliases I have made.
Now It would be awesome if I have a way to have CRUD operations on them from the terminal itself. Also extending the functionality when I save a directory in alias it maps all the subdirectories so now, I can run project>testserver
so something like this.
@Souvikns That's an interesting feature and definitely can be implemented. What I can think of at the moment is I can keep track of these path in a yaml
or json
file and make few commands to perform crud operations on it. If you have a better approach then feel free to share.
@Souvikns That's an interesting feature and definitely can be implemented. What I can think of at the moment is I can keep track of these path in a
yaml
orjson
file and make few commands to perform crud operations on it. If you have a better approach then feel free to share.
Yeah this is pretty much how we could do this.
@Souvikns Hey, you can find this feature is v0.1.3
release now. Give it a try and lemme know if you find any issues.
Also:
Also extending the functionality when I save a directory in alias it maps all the subdirectories so now, I can run project>testserver so something like this.
for now I have not implemented this mapping thing because of complexity so will add it in the next release.