diff --git a/botfiles/.config/sxhkd/sxhkdrc.laptop b/botfiles/.config/sxhkd/sxhkdrc.laptop index 6ffe5ed..3e923ec 100644 --- a/botfiles/.config/sxhkd/sxhkdrc.laptop +++ b/botfiles/.config/sxhkd/sxhkdrc.laptop @@ -25,7 +25,7 @@ super + r st -e vifm # fzf super + f - st -e zsh -c 'vifm "$(find ./* -type d | fzf)";' + st -e zsh -c 'vifm "$(find . -type d | fzf)";' # rofi super + d rofi -show drun diff --git a/botfiles/.config/sxhkd/sxhkdrc.pc b/botfiles/.config/sxhkd/sxhkdrc.pc index a554509..1d4dd89 100644 --- a/botfiles/.config/sxhkd/sxhkdrc.pc +++ b/botfiles/.config/sxhkd/sxhkdrc.pc @@ -25,7 +25,7 @@ super + r st -e vifm # fzf super + f - st -e zsh -c 'vifm "$(find ./* -type d | fzf)";' + st -e zsh -c 'vifm "$(find . -type d | fzf)";' # rofi super + d rofi -show drun diff --git a/botfiles/.shellrc b/botfiles/.shellrc index 9535800..b0e9017 100644 --- a/botfiles/.shellrc +++ b/botfiles/.shellrc @@ -50,7 +50,10 @@ alias gh-rv='gh repo view' # fzf ff() { find ./* -type f | fzf | xargs -r $EDITOR ;} fd() { vifm "$(find ./* -type d | fzf)" ; clear } +fhd() { find . -type d | fzf | xargs -r $EDITOR ; } +fhf() { find . -type f | fzf | xargs -r $EDITOR ; } alias f='ff' +alias fa='fhf' # other alias pass='keepassxc-cli clip ~/Passwords/keepass.kdbx'