mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-16 21:25:30 +00:00
10 lines
497 B
Plaintext
10 lines
497 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
# AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry)
|
||
|
# https://www.youtube.com/user/gotbletu
|
||
|
# DESC: locate a file and go to that directory with ranger file manager
|
||
|
# DEMO: https://www.youtube.com/watch?v=C64LKCZFzME
|
||
|
# REQD: add code to ranger file manager
|
||
|
# $EDITOR ~/.config/ranger/commands.py
|
||
|
|
||
|
tmux new-window -n nnnlocate 'nnn -a $(locate home media | fzf -e -i --prompt="Select to open with nnn: " --info=default --layout=reverse --tiebreak=index)'
|