BLOODY
This commit is contained in:
26
dot_zshrc
26
dot_zshrc
@@ -1,15 +1,4 @@
|
||||
# {{{ Reminders to install useful extensions
|
||||
if [[ -e /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh ]]; then
|
||||
. /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||
elif [[ -e /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh ]]; then
|
||||
. /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||
elif [[ -x "$(whence yay)" ]]; then
|
||||
echo 'yay -S zsh-history-substring-search'
|
||||
elif [[ -x "$(whence zyp)" ]]; then
|
||||
echo 'zyp in zsh-history-substring-search'
|
||||
else
|
||||
echo "zsh-history-substring-search not found"
|
||||
fi
|
||||
#if [[ -e /usr/share/zsh/plugins/zsh-directory-history/zsh-directory-history.zsh ]]; then
|
||||
#. /usr/share/zsh/plugins/zsh-directory-history/zsh-directory-history.zsh
|
||||
#elif [[ -x "$(whence yay)" ]]; then
|
||||
@@ -39,6 +28,17 @@ elif [[ -x "$(whence zyp)" ]]; then
|
||||
else
|
||||
echo "zsh-syntax-highlighting not found"
|
||||
fi
|
||||
if [[ -e /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh ]]; then
|
||||
. /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||
elif [[ -e /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh ]]; then
|
||||
. /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||
elif [[ -x "$(whence yay)" ]]; then
|
||||
echo 'yay -S zsh-history-substring-search'
|
||||
elif [[ -x "$(whence zyp)" ]]; then
|
||||
echo 'zyp in zsh-history-substring-search'
|
||||
else
|
||||
echo "zsh-history-substring-search not found"
|
||||
fi
|
||||
if [[ -x "$(whence direnv)" ]]; then
|
||||
eval "$(direnv hook zsh)"
|
||||
elif [[ -x "$(whence pacman)" ]]; then
|
||||
@@ -145,7 +145,7 @@ export PATH=$PATH:/opt/gradle/gradle-6.9.4/bin
|
||||
export TERMINAL=kitty
|
||||
export MPD_HOST=127.0.0.1
|
||||
export MPD_PORT=6969
|
||||
export EDITOR=vim
|
||||
export EDITOR="emacs -nw"
|
||||
|
||||
function reload_gtk_theme() {
|
||||
theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
|
||||
@@ -209,3 +209,5 @@ eval "$(pyenv init -)"
|
||||
export PATH=$PATH:~/.spicetify
|
||||
export PATH=$PATH:/home/libkyy/.spicetify
|
||||
export PATH=$PATH:~/.emacs.d/bin
|
||||
|
||||
export PATH=$PATH:/home/linly/.spicetify
|
||||
|
||||
Reference in New Issue
Block a user