summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-26 13:57:01 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-26 13:57:01 +0200
commitf75b279d733e5f15eb8b9bc8e762592f49799f71 (patch)
tree796cb65d88a9bef2ea091063ca9bfdcb10e7c62a /.config/zsh/alias.zsh
parentcleaner (diff)
downloaddotfiles-bsd-f75b279d733e5f15eb8b9bc8e762592f49799f71.tar.gz
dotfiles-bsd-f75b279d733e5f15eb8b9bc8e762592f49799f71.tar.bz2
dotfiles-bsd-f75b279d733e5f15eb8b9bc8e762592f49799f71.tar.xz
dotfiles-bsd-f75b279d733e5f15eb8b9bc8e762592f49799f71.tar.zst
dotfiles-bsd-f75b279d733e5f15eb8b9bc8e762592f49799f71.zip
udpate
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)