Fix shellcheck issues

This commit is contained in:
Tobias Reisinger 2021-09-29 22:45:12 +02:00
parent 2ab76c75f7
commit 54ecc698f0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 35 additions and 43 deletions
.config/zsh

View file

@ -66,36 +66,28 @@ DISABLE_AUTO_UPDATE="false"
# Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=$ZDOTDIR/custom
priv_plugin=sudo
if [ -x "$(command -v doas)" ]
then
priv_plugin=doas
fi
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
colored-man-pages
copydir
copyfile
cp
docker
docker-compose
encode64
extract
git
git-auto-status
httpie
jump
kubectl
laravel5
safe-paste
vi-mode
$priv_plugin
'colored-man-pages'
'copydir'
'copyfile'
'cp'
'docker'
'docker-compose'
'encode64'
'extract'
'git'
'git-auto-status'
'httpie'
'jump'
'laravel5'
'safe-paste'
'sudo'
'vi-mode'
)
source $ZSH/oh-my-zsh.sh