shell-scripts
dotfiles
shell-scripts | dotfiles | |
---|---|---|
1 | 1 | |
0 | 5 | |
- | - | |
0.0 | 0.0 | |
about 3 years ago | over 2 years ago | |
Python | Vim Script | |
- | - |
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.
shell-scripts
-
How to navigate directories faster with Bash (2015)
Here's my answer to that, an 'nd' (newdir?) alias that calls this python script:
https://github.com/danwills/shell-scripts/blob/bb989985d270c...
This makes all directories with names provided by args, including spaces and multiple levels (slashes) at once. It then enters the resulting directory as well (when aliased including 'cd' as advised in the comment).
dotfiles
-
How to navigate directories faster with Bash (2015)
(Full disclosure This is zsh and I don't have a bash equivalent for that)
Another thing I can't live without and some people hate is ls -la anytime I cd in to a directory. In a gui, I get that visual feedback immediately and it's usually the first thing I type when I land anyway so I just have a function for it https://github.com/gpspake/dotfiles/blob/master/zsh/gpspake/...
What are some alternatives?
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
ranger - A VIM-inspired filemanager for the console
zoxide - A smarter cd command. Supports all major shells.
bashmarks - Directory bookmarks for the shell
hstr - bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.
goat - POSIX-compliant shell movement boosting hack for real ninjas (aka `cd x` and `cd ...`)