From 6b08f33775c7dee40f0cf5afe4cffee7921b4060 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 26 Apr 2022 17:25:47 +0200 Subject: upgrade to fzf --- .config/zsh/alias.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index f194f9a..d4d4a7c 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -107,21 +107,21 @@ econf() { } eebin() { file=$(find "$HOME"/.local/bin -type f | fzf) + [ $? -ne 0 ] && return bsdsetsid emacsclient -c "$file" kill -9 "$(ps -p $$ -oppid=)" - exit } eeconf() { file=$(find "$HOME"/.config -type f | fzf) + [ $? -ne 0 ] && return bsdsetsid emacsclient -c "$file" kill -9 "$(ps -p $$ -oppid=)" - exit } ee() { file=$(find . -type f | fzf) + [ $? -ne 0 ] && return bsdsetsid emacsclient -c "$file" kill -9 "$(ps -p $$ -oppid=)" - exit } pa() { if [ -d $HOME/.local/packs ] && cd $HOME/.local/packs || return 1 -- cgit v1.2.3