Ansible god!

Big rework!
Control stuffs with variables!
We still should do some movei'n around of roles before extending
features.
This commit is contained in:
2022-03-23 02:03:04 +01:00
parent 2c29be1b7b
commit a70d58f3f7
33 changed files with 447 additions and 104 deletions

View File

@@ -0,0 +1,25 @@
case $- in
*i*) ;;
*) return;;
esac
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
shopt -s histappend checkwinsize globstar
HISTFILESIZE=42069
HISTSIZE=42069
#PS1='${debian_chroot:+($debian_chroot)}{{ bash_prompt }} '
PS1='{{ bash_prompt }} '
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
[ -f ~/.bash_aliases ] && . ~/.bash_aliases
[ -f ~/.aliases ] && . ~/.aliases
[ -f ~/.env ] && . ~/.env
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi

View File

@@ -0,0 +1,15 @@
[[ $- != *i* ]] && return
PROMPT="{{ zsh_prompt }} "
setopt autocd extendedglob nomatch notify prompt_subst
autoload -Uz compinit && compinit
unsetopt beep
bindkey -v
[ -e ~/.zstyles ] && source ~/.zstyles
[ -e ~/.env ] && source ~/.env
for src in `/bin/ls ~/.zshrc.d`; do
[ -e $src ] && source $src
done
source ~/.zshrc.d/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh