From 5534f79425c7b0d980e05c9ee4e66ef4c0b5ccc1 Mon Sep 17 00:00:00 2001 From: samedamci Date: Mon, 11 May 2020 11:35:20 +0200 Subject: [PATCH] Edit shellrc --- .config/shellrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.config/shellrc b/.config/shellrc index b726bf0..b4ea6af 100644 --- a/.config/shellrc +++ b/.config/shellrc @@ -62,12 +62,7 @@ alias gh-rcp='gh repo create' 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' +fdir() { cd "$(find "$HOME" -type d | fzf --layout reverse --height 25)"; } # other alias s='sudo ' @@ -82,6 +77,7 @@ alias c256='(x=`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o alias ...='cd ~/Dotfiles' alias cd..='cd ..' alias news='newsboat' +alias scr='cd .local/bin/scripts' # 4fun alias dog='cat'