Add doas config stuff

This commit is contained in:
Tobias Reisinger 2021-01-31 14:42:35 +01:00
parent b44c41f339
commit 3d17d60bc9
5 changed files with 97 additions and 6 deletions
.config/zsh

View file

@ -1,5 +1,5 @@
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.config/zsh/oh-my-zsh"
export ZSH="$ZDOTDIR/oh-my-zsh"
if [ ! -f "$ZSH/oh-my-zsh.sh" ]
then
@ -65,7 +65,13 @@ DISABLE_AUTO_UPDATE="false"
# HIST_STAMPS="yyyy-mm-dd"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
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/
@ -83,8 +89,9 @@ plugins=(
jump
kubectl
safe-paste
sudo
vi-mode
$priv_plugin
)
source $ZSH/oh-my-zsh.sh