From 58497f45be9e838bfd10df6309421892d9d58a7e Mon Sep 17 00:00:00 2001 From: samedamci Date: Wed, 18 Mar 2020 11:23:00 +0100 Subject: [PATCH] Add 2 aliases and edit sxhkdrc --- botfiles/.config/sxhkd/sxhkdrc.laptop | 2 +- botfiles/.config/sxhkd/sxhkdrc.pc | 2 +- botfiles/.shellrc | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) 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'