From 6068de12e0f8aa7919a0828222ce8ee1fc66fe1a Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 11 Apr 2022 20:37:31 +0800 Subject: [PATCH] Use my own zsh plugin instead of writing alias --- .zshrc | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/.zshrc b/.zshrc index f99a652..90809a0 100644 --- a/.zshrc +++ b/.zshrc @@ -18,7 +18,9 @@ zinit light zdharma-continuum/fast-syntax-highlighting zinit ice lucid wait zinit light agkozak/zsh-z zinit ice lucid wait -zinit light zpm-zsh/colorize +zinit light juancldcmt/colorize +zinit ice lucid wait +zinit light juancldcmt/shortify.zsh zinit ice compile'(pure|async).zsh' pick'async.zsh' src'pure.zsh' zinit light sindresorhus/pure @@ -134,29 +136,6 @@ export MANPATH="${MANPATH}:${HOME}/.local/share/man" export USE_CCACHE=1 export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" -alias b='bat -n' -alias btctl='bluetoothctl' -alias cp='cp -iv' -alias df='df -h' -alias e='emerge' -alias free='free -h' -alias gcc='gcc -Wall -Wextra -g' -alias g='git' -alias info="info --vi-keys" -alias la='ls -la --human-readable' -alias ll='ls -l --human-readable' -alias l='ls --human-readable' -alias mv='mv -iv' -alias nya='doas' -alias p='python' -alias rm='trash' -alias se='doas emerge' -alias ssh='TERM="xterm-256color" ssh' -alias sv='doasedit.sh' -alias t='task' -alias v='nvim' -alias vw='nvim -c VimwikiIndex' - bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'l' vi-forward-char