Our great sponsors
bashmarks | chj-home | |
---|---|---|
6 | 1 | |
1,848 | 2 | |
- | - | |
0.0 | 5.8 | |
3 months ago | 7 days ago | |
Shell | Shell | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bashmarks
- Cdpath: Easily Navigate Directories in the Terminal
-
Diroctory switcher for git managed projects
Agreed. I use bashmarks to quickly get wherever I'm going.. Combining the two might be a good option.
-
what is your favorite cd tool (z, z.lua, autojump, zoxide ....) ?
I have been using bashmarks for years. It has s(ave), g(o), l(ist), d(elete) commands to switch between folders. https://github.com/huyng/bashmarks
-
How to use bookmarks in bash/zsh
bashmarks is pretty rad too.
-
How to navigate directories faster with Bash (2015)
Autojump is great. Another similar one with less functionality but a stripped down script is "bashmarks":
I happily use bashmarks to jump to well known directories
https://github.com/huyng/bashmarks
cd /path/to/project1
chj-home
-
How to navigate directories faster with Bash (2015)
I do the following [1]:
- I define "cdn" to be what others call "mkcd", as then if I have a command line "cd foo" and it tells me that foo doesn't exist, I can just add the 'n' to the previous entry. I also overload "cdn" so that when not given any argument, it goes into the newest subdirectory in the current directory.
- "u", "uu", "uuu", "uuuu", "uuuuu" for going "up" that many levels, and unlike the aliases in OP, I define them as functions and if those are given an argument, they descends into the path from there: "u foo" is equivalent to "cd ../foo", "uu foo" to "cd ../../foo".
- I also have a function called "mvcd foo bar" that moves foo to bar and then goes into bar. "mvcdnewdir foo bar" that does the same but will create bar. (I'm pondering unifying them to a version that always calls mkdir -p)
- an alias "c" for cd [2]. The single letter messes with the history search though (ctl-r c space or ctl-r cd space ?), so it's not necessarily a good idea.
- some functions for special locations, "cs" for ~/scratch, "cb" for ~/bookmarks, etc.
[1] see .bashrc at https://github.com/pflanze/chj-home
What are some alternatives?
hstr - bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.
z - z - jump around
ohmyzsh - 🙃 A delightful community-driven (with 2,200+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
goat - POSIX-compliant shell movement boosting hack for real ninjas (aka `cd x` and `cd ...`)
autocomplete - IDE-style autocomplete for your existing terminal & shell
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
autojump - A cd command that learns - easily navigate directories from the command line
zoxide - A smarter cd command. Supports all major shells.
pushb - like pushd, but for git branches
zfm - Zsh Fuzzy Marks
dotfiles - My dot files