Guest User

autojump menu - browse autojump database using fzf

a guest
Apr 27th, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. # autojump menu - browse the autojump database using fzf then cd to the choice.
  2. jm () {
  3.     local target
  4.     target=$(autojump --stat | tac | tail -n+8 | cut -f 2 | fzf)  && cd $target
  5. }
Advertisement
Add Comment
Please, Sign In to add comment