https://github.com/rootmos/qcd
Script for Quickly Changing Directory.
https://github.com/rootmos/qcd
Last synced: about 2 months ago
JSON representation
Script for Quickly Changing Directory.
- Host: GitHub
- URL: https://github.com/rootmos/qcd
- Owner: rootmos
- License: gpl-3.0
- Created: 2014-08-09T12:18:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-19T08:08:33.000Z (almost 12 years ago)
- Last Synced: 2025-08-23T04:29:39.100Z (10 months ago)
- Language: Python
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
qcd
===
This simple little script can be used to quickly move between locations saved in a database.
Installation
------------
1. Move the python scripts into a comfortable place
2. Set the path in `sh_hook` to point to said place
3. Source `sh_hook` into your shell or add it into your starup script for automatic sourcing
Usage
-----
First save a location you visit frequently
```
qcd -a /etc/init.d
```
This will save it into the database at an automatically generated key, which is incrementing integers, so we will save this to 1 in this case.
Or we could have given it a name of our own:
```
qcd -a i /etc/init.d
```
Then whenever we want to go there we can simply write:
```
qcd i
```
To list our saved locations, simply issue:
```
qcd -l
```
and for more operations you might find
```
qcd -h
```
helpful, our you can fork it and write any functionality that is missing! :)