diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-26 13:57:01 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-26 13:57:01 +0200 |
commit | f75b279d733e5f15eb8b9bc8e762592f49799f71 (patch) | |
tree | 796cb65d88a9bef2ea091063ca9bfdcb10e7c62a | |
parent | cleaner (diff) | |
download | dotfiles-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 '')
-rw-r--r-- | .config/env | 2 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/.config/env b/.config/env index c99c07f..eb4ea63 100644 --- a/.config/env +++ b/.config/env @@ -73,7 +73,7 @@ export CCACHE_LOGFILE='/var/log/ccache.log' # Apps config export FZF_DEFAULT_COMMAND='ag -g "" --ignore dotfiles-bsd' -export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border --tabstop=4' +export FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border=left --tabstop=4' export LESS="-R" export LESSHISTFILE='-' export MANPAGER="less -R -M +Gg" 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) |