summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/alias.zsh')
-rw-r--r--.config/zsh/alias.zsh18
1 files changed, 18 insertions, 0 deletions
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)