Our great sponsors
bashmarks | dotfiles | |
---|---|---|
6 | 3 | |
1,848 | 28 | |
- | - | |
0.0 | 7.1 | |
3 months ago | 9 days ago | |
Shell | Shell | |
BSD 3-clause "New" or "Revised" License | Do What The F*ck You Want To Public 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
dotfiles
-
The bash book to rule them all
> An interactive shell can be a login-shell or a non-login-shell.
A shell can be login and non-interactive.
This happens e.g when starting a session from a X session manager. Subsequently a terminal such as Xterm starts non-login interactive sessions.
Similarly doing ssh starts a non-interactive login shell.
> However, bash behaves like an interactive non-login shell in this case and reads `bashrc`.
IIRC nope: distros such as Debian often have bashrc source bash profile (or the other way around, I can't recall) which has me irate to no end+. They even have some TTY dependent stuff in profile which spits out some error in some cases when no TTY is allocated because heh not interactive.
+ I took great length to have my rc and profile properly separated because it's that much faster not to source the unneeded stuff. https://github.com/lloeki/dotfiles
-
A Dotfile History
Got a similar repo: https://github.com/lloeki/dotfiles
A couple of differences though.
- there's a setup script to do the basic symlinks, automatically from the files in the "home" subdir by prepending the names with .
- then for shell stuff everything is sourced from either shell, bash, or zsh subdirs, all in modular files
- shell dir content is autoloaded based on +x
- there are polyfills for bash that makes it more zsh-like (stuff like precmd)
- each shell module tests for tool presence and is a noop or sets up a fallback when the tool is not available, so I can clone this on any system and have it still work, gracefully degrading down to zero deps except the shell itself
- it also attempts to provide a uniform experience across bash versions and OSes (darwin, linux)
- prompt is minimal (workdir, dirname only, not the full path), increases with detail progressively and in a hierarchical order (root if root, host if ssh, workdir, vcs branch if in repo, vcs status as symbols if nonempty, venv name if virtualenv, "nix" if in nix shell)
- How to navigate directories faster with Bash (2015)
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 ...`)
fzf - :cherry_blossom: A command-line fuzzy finder
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
chj-home - home directory
zoxide - A smarter cd command. Supports all major shells.
pushb - like pushd, but for git branches