Search for frequently visited directories
Project description
## CDHISTORY
[![Build Status](https://travis-ci.org/jdowner/cdhistory.svg)](https://travis-ci.org/jdowner/cdhistory)
This package is used to record the frequency of visits to particular directories through the ‘cd’ function. The goal is to use this information to provide a way to quickly navigate to commonly visited directories.
To incorporate this functionality, install the package in the usual way,
python setup.py install
This will add the cdhistory packacge to your python install area, and a cdhistory script to /usr/local/bin. To incorporate cdhistory into your normal ‘cd’ use, there is a bash script installed in /usr/local/share called cdhistory.bash that provides an function to wrap ‘cd’.
The cdhistory.bash snippet replaces the existing ‘cd’ function in bash with a wrapped version. The function behaves like the builtin cd command normally, but records the directories that are visited. However, if you prepend the first argument to ‘cd’ with a colon it will go to the best match using cdhistory, e.g.
cd :repos
will ‘cd’ to the path that best matches the string ‘repos’. In effect, this is like creating aliases for commonly visited directories.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cdhistory-0.1.tar.gz
.
File metadata
- Download URL: cdhistory-0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2f32352373b0517938bcb5d0a485bf8b6d97cd3fa6201f6719c17ea08925a1 |
|
MD5 | 6f580cd50c181b79452bd84420bf451f |
|
BLAKE2b-256 | 90ffecf83216544ee093157a359156b4e0769910ee8cc3928b42aedff1ea3cff |