commit ef51b084a67871cf8ed124c63cb6901ad449fb41
parent 3f38326ff97674578fd3ab6f5113198497f90366
Author: Dash Eclipse <dashezup@disroot.org>
Date: Wed, 30 Mar 2022 14:31:14 +0000
feat: update .zshrc.local and .zshenv
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.zshenv b/.zshenv
@@ -1,8 +1,11 @@
# http://zsh.sourceforge.net/Guide/zshguide02.html#l24
typeset -U path
path=(~/.local/bin $path)
+fpath=(~/.local/share/zsh/site-functions "${fpath[@]}")
SRC_GITHUB="$HOME/.local/src/github"
+NGINX_DOCUMENT_ROOT="/var/www/localhost/htdocs"
+#LESS+=" -c"
PROXYCHAINS_QUIET_MODE=1
CLICOLOR_FORCE=1
export GPG_TTY=$(tty)
diff --git a/.zshrc.local b/.zshrc.local
@@ -12,7 +12,7 @@ alias diff="diff --color=always"
# Language
alias speak="/usr/bin/trans -b -speak -no-translate -no-init"
alias zh-TW="/usr/bin/trans -shell -brief -theme random :zh-TW -no-init"
-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' --preview-window=up,60%,border-bottom"
+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' --preview-window=up,border-bottom"
# Xorg
alias xcopy="xclip -selection clipboard"
# Void Linux
@@ -27,6 +27,7 @@ alias uvsv="SVDIR=~/.local/service /usr/bin/vsv"
. /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
. /usr/share/zsh/site-functions/skim-key-bindings.zsh
#. $HOME/.local/share/grc/grc.zsh
+#. /usr/share/skim/key-bindings.zsh
. ~/.local/src/github/zsh-z/zsh-z.plugin.zsh
if [ ! -z ${DISPLAY+x} ] ; then