{ "info": { "author": "Mark Blakeney", "author_email": "mark@irsaere.net", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "## BASH SHELL CD HISTORY\n\n[cdhist](http://github.com/bulletmark/cdhist) is a utility which\nprovides a bash shell **cd history** directory stack. A bash `cd` alias\ncalls a python helper script to intercept your normal shell `cd` command\nand maintain a stack of directories you previously visited which can be\nlisted and quickly jumped to by numeric index.\n\nThe latest version and documentation is available at\nhttp://github.com/bulletmark/cdhist.\n\n### USAGE\n\nAdd \"somepath\" to your directory stack and cd there:\n\n```\ncd somepath\n```\n\nList the current stack and its indices:\n\n```\ncd -l\n```\n\nChange dir to stack index \"n\":\n\n```\ncd -n\n```\n\nSearch back through stack for \"string\" and cd there:\n\n```\ncd -/string\n```\n\nList the stack and its indices then immediately prompt for dir to\nselect:\n\n```\ncd --\n```\n\nYou can also type `/string` at the above prompt to search.\n\nShow this help:\n\n```\ncd -h|?\n```\n\nAll other arguments are passed on to the normal cd command.\n\n### INSTALLATION\n\nArch users can install [cdhist from the\nAUR](https://aur.archlinux.org/packages/cdhist/) and skip to the next\nsection.\n\nRequires `python-setuptools` installed.\n\nRequires bash + python 2.6 or later (and is compatible with python 3+).\nNote [cdhist is on PyPI](https://pypi.org/project/cdhist/) so you can\n`sudo pip install cdhist` or:\n\n```\ngit clone http://github.com/bulletmark/cdhist\ncd cdhist\nsudo make uninstall # Do this to make sure old versions are purged\nsudo make install\n```\n\n### CONFIGURATION\n\nEach user who wants to use the cdhist facility should source the\n`/etc/cdhist.bashrc` file into their bashrc, i.e in `~/.bashrc`\njust add:\n\n```\nif [ -f /etc/cdhist.bashrc]; then\n source /etc/cdhist.bashrc\nfi\n```\n\nThen log out and back in again.\n\n### ALTERNATIVE COMMAND NAME\n\nSome people may prefer not to alias their system `cd` command to this\nutility and just use an alternative unique command name. To do this, set\n`CDHISTCOMMAND` to your preferred name before you invoke the\n`cdhist.bashrc` script in your `~/.bashrc`. E.g, to use the command name\n`xd` rather than `cd`:\n\n```\nif [ -f /etc/cdhist.bashrc]; then\n export CDHISTCOMMAND=xd\n source /etc/cdhist.bashrc\nfi\n```\n\nThen just type `xd /tmp` to change dir, `xd --` to see and select dirs,\netc.\n\n### UPGRADE\n\n```\ncd cdhist # Source dir, as above\ngit pull\nsudo make install\n```\n\n### REMOVAL\n\n```\ncd cdhist # Source dir, as above\nsudo make uninstall\n```\n\n### LICENSE\n\nCopyright (C) 2010, 2012 Mark Blakeney. This program is distributed under the\nterms of the GNU General Public License.\nThis program is free software: you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the\nFree Software Foundation, either version 3 of the License, or any later\nversion.\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\nPublic License at for more details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bulletmark/cdhist", "keywords": "vim gvim", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "cdhist", "package_url": "https://pypi.org/project/cdhist/", "platform": "", "project_url": "https://pypi.org/project/cdhist/", "project_urls": { "Homepage": "https://github.com/bulletmark/cdhist" }, "release_url": "https://pypi.org/project/cdhist/1.5.4/", "requires_dist": null, "requires_python": "", "summary": "Program to provide a bash cd history directory stack", "version": "1.5.4" }, "last_serial": 5153366, "releases": { "1.5.3": [ { "comment_text": "", "digests": { "md5": "c52b58f1372da1b39bbd4bad46ef7a2f", "sha256": "973206faa5c717ca1f65ed2202a0c6a718002955e5cbed12a12fb108a0d8a49b" }, "downloads": -1, "filename": "cdhist-1.5.3.tar.gz", "has_sig": false, "md5_digest": "c52b58f1372da1b39bbd4bad46ef7a2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5760, "upload_time": "2018-08-12T02:58:12", "url": "https://files.pythonhosted.org/packages/5c/e9/92b325015243b6cac1bce155b371aa4eebf66eae0e9c6473f00c7e4de48a/cdhist-1.5.3.tar.gz" } ], "1.5.4": [ { "comment_text": "", "digests": { "md5": "9aac5f9f7a3d3a48b39badf163b2a723", "sha256": "4f105578f03e472fe4c70b6f30feebd00d1fbf0b958639ec63b5c342ded34603" }, "downloads": -1, "filename": "cdhist-1.5.4.tar.gz", "has_sig": false, "md5_digest": "9aac5f9f7a3d3a48b39badf163b2a723", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5840, "upload_time": "2019-04-17T05:34:11", "url": "https://files.pythonhosted.org/packages/d3/96/03a73f4027616244106f9a28c7413938e8319f4aee2bedf843386f209f47/cdhist-1.5.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9aac5f9f7a3d3a48b39badf163b2a723", "sha256": "4f105578f03e472fe4c70b6f30feebd00d1fbf0b958639ec63b5c342ded34603" }, "downloads": -1, "filename": "cdhist-1.5.4.tar.gz", "has_sig": false, "md5_digest": "9aac5f9f7a3d3a48b39badf163b2a723", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5840, "upload_time": "2019-04-17T05:34:11", "url": "https://files.pythonhosted.org/packages/d3/96/03a73f4027616244106f9a28c7413938e8319f4aee2bedf843386f209f47/cdhist-1.5.4.tar.gz" } ] }