dotfiles

Dash Eclipse's dotfiles
git clone git://ezup.dev/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 2978c03652b86f23a4623063d6d4efb2427b2dcd
parent 29a570a5892efe1e7d72c7f7638bc0ab553e7734
Author: Dash Eclipse <dashezup@disroot.org>
Date:   Tue, 29 Mar 2022 18:15:54 +0000

feat: .zshrc.local: use fzf for dictd wordnet

rewrite wn() as an alias

Diffstat:
M.zshrc.local | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.zshrc.local b/.zshrc.local @@ -12,6 +12,7 @@ alias ssh="TERM=xterm-256color ssh" alias pc-ssh="TERM=xterm-256color proxychains ssh" alias xcopy="xclip -selection clipboard" alias diff="diff --color=always" +alias wn="cut -f1 /usr/share/dict/wn.index | fzf --layout=reverse --info=inline --prompt='WordNet > ' --preview='dict --database=wn {}' --bind='enter:execute:dict --database=wn {} | less -c'" # Void Linux alias sv="doas /usr/bin/sv" alias vsv="doas /usr/bin/vsv" @@ -77,9 +78,6 @@ speedtest-connection() { printf "%.0fms\n" $((time_seconds * 1000)) } -# wordnet -wn() { while true; do dict -d wn $(read -e); done } - # zsh-insulter if [ -f /etc/zsh.command-not-found ]; then . /etc/zsh.command-not-found