From f75b279d733e5f15eb8b9bc8e762592f49799f71 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 26 Apr 2022 13:57:01 +0200 Subject: udpate --- .config/zsh/alias.zsh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '.config/zsh/alias.zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 20dc114..6873902 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -105,6 +105,24 @@ econf() { $VISUAL $sc cd $p } +eebin() { + file=$(find "$HOME"/.local/bin -type f | fzf) + bsdsetsid emacsclient -c "$file" + kill -9 "$(ps -p $$ -oppid=)" + exit +} +eeconf() { + file=$(find "$HOME"/.config -type f | fzf) + bsdsetsid emacsclient -c "$file" + kill -9 "$(ps -p $$ -oppid=)" + exit +} +ee() { + file=$(find . -type f | fzf) + bsdsetsid emacsclient -c "$file" + kill -9 "$(ps -p $$ -oppid=)" + exit +} pa() { if [ -d $HOME/.local/packs ] && cd $HOME/.local/packs || return 1 dir=$(\ls $HOME/.local/packs | fzf) -- cgit v1.2.3