Fix shellcheck issues
This commit is contained in:
parent
2ab76c75f7
commit
54ecc698f0
3 changed files with 35 additions and 43 deletions
.config/zsh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue