This commit is contained in:
thek4n 2024-04-15 12:49:37 +03:00
parent 31a0733a06
commit b7eee97b30
3 changed files with 15 additions and 13 deletions

View File

@ -18,5 +18,3 @@ alias -g BEEP='&& beep -f 800 -l 250 -n -f 1000 -l 500 || beep -f 800 -l 250 -n
alias -s mp4='vlc'
alias -s mp3='audacious'
alias -s flac='audacious'
bindkey '`' autosuggest-accept

View File

@ -5,7 +5,7 @@ so () {
install_if_not_exists() {
local path="$HOME/.config/zsh/plugins/$1"
if [ ! -d "$path" ]; then
/usr/bin/git clone "https://github.com/$1" "$path"
git clone "https://github.com/$1" "$path"
fi
}

View File

@ -2,14 +2,6 @@ _so() {
[ -r "$1" ] && [ -f "$1" ] && source "$1"
}
_so /etc/zsh_command_not_found
_so "$ZDOTDIR/options"
_so "$ZDOTDIR/completion"
_so "$ZDOTDIR/history"
_so "$ZDOTDIR/prompt"
_so "$ZDOTDIR/other"
_so "$ZDOTDIR/plugin"
_so "$ZDOTDIR/aliases"
_so "$XDG_CONFIG_HOME/bash/export"
_so "$XDG_CONFIG_HOME/bash/aliases"
@ -18,4 +10,16 @@ _so "$XDG_CONFIG_HOME/bash/functions"
_so "$XDG_CONFIG_HOME/bash/hosts/$HOST"
_so /etc/zsh_command_not_found
_so "$ZDOTDIR/options"
_so "$ZDOTDIR/completion"
_so "$ZDOTDIR/history"
_so "$ZDOTDIR/prompt"
_so "$ZDOTDIR/other"
_so "$ZDOTDIR/aliases"
_so "$ZDOTDIR/plugin"
bindkey '`' autosuggest-accept
_sod "$ZDOTDIR/zshrc.d"