icinga2.ssh_client

This commit is contained in:
Keiran Snowden
2023-12-06 00:27:44 -05:00
parent 8ff815ebd3
commit ead5387f27
8 changed files with 117 additions and 9 deletions

View File

@@ -30,11 +30,15 @@ if [ -x /usr/bin/dircolors ]; then
alias grep='grep --color=auto'
fi
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
export EDITOR='vim'
export VISUAL='vim'
@@ -42,11 +46,11 @@ export VISUAL='vim'
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
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
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
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # color support