Linux shell/Productivity tools

From Ever changing code
< Linux shell
Revision as of 09:11, 15 September 2023 by Pio2pio (talk | contribs) (Created page with "= Autojump = <source lang="bash"> https://github.com/wting/autojump#manual sudo apt-get install autojump cat /usr/share/doc/autojump/README.Debian Autojump for Debian ------------------- To use autojump, you need to configure you shell to source /usr/share/autojump/autojump.sh on startup. If you use Bash, add the following line to your ~/.bashrc (for non-login interactive shells) and your ~/.bash_profile (for login shells): . /usr/share/autojump/autojump.sh If you us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Autojump

https://github.com/wting/autojump#manual
sudo apt-get install autojump
cat /usr/share/doc/autojump/README.Debian

Autojump for Debian
-------------------

To use autojump, you need to configure you shell to source
/usr/share/autojump/autojump.sh on startup.

If you use Bash, add the following line to your ~/.bashrc (for non-login
interactive shells) and your ~/.bash_profile (for login shells):
. /usr/share/autojump/autojump.sh

If you use Zsh, add the following line to your ~/.zshrc (for all interactive shells):
. /usr/share/autojump/autojump.sh

# Usage
j -s # display statistics


j foo      # Jump To A Directory That Contains foo. It takes multiple arguments to do fuzzy search
jc bar     # jump to a child directory (sub-directory of current directory) rather than typing out the full name
jo music   # Open File Manager To Directories (instead of jumping)
jco images # Opening a file manager to a child directory is also supported

direnv

TODO: