git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.pylintrc
blob: 92ee90200ee47c723d767003e32d47dc08e2a3e0 (plain)
1
2
3
4
5
6
7
# vim:syntax=dosini
[MASTER]
jobs=2

[FORMAT]
#indent-string='\t'
max-line-length=100
#aa5500 } /* Literal.String.Other */ .highlight .sr { color: #009999 } /* Literal.String.Regex */ .highlight .s1 { color: #aa5500 } /* Literal.String.Single */ .highlight .ss { color: #0000aa } /* Literal.String.Symbol */ .highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */ .highlight .fm { color: #00aa00 } /* Name.Function.Magic */ .highlight .vc { color: #aa0000 } /* Name.Variable.Class */ .highlight .vg { color: #aa0000 } /* Name.Variable.Global */ .highlight .vi { color: #aa0000 } /* Name.Variable.Instance */ .highlight .vm { color: #aa0000 } /* Name.Variable.Magic */ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
#!/usr/bin/env bash
# vim:syntax=sh
# .bash main folder. also required in .bash/prompt.sh.
export BBD="${HOME}/.bash"

# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# If the sysadmins do not care about history timestamps, let us do that:
[ -z "$HISTTIMEFORMAT" ] && export HISTTIMEFORMAT="%F %T "
# same philosophy, other history settings:
[ -z "$HISTSIZE" ] && export HISTSIZE=10240
[ -z "$HISTCONTROL" ] && export HISTCONTROL=ignoredups
# stuff before $BBD
# shellcheck disable=SC1090
[ -r "${HOME}/.byobu/prompt" ] && source "${HOME}/.byobu/prompt"
# shellcheck disable=SC1091
[ -r "/usr/share/bash-completion/bash_completion" ] && source "/usr/share/bash-completion/bash_completion"

# The above is absolutely mandatory imho. Now for the rest.
# Do we have our base directory?
[ ! -x "$BBD" ] && return
MYKERN="$(uname -s)"
for i in vars aliases exec prompt postexec;do
	# shellcheck disable=SC1090
	if [ -r "${BBD}/${i}.bash" ];then
		source "${BBD}/${i}.bash"
	else true
	fi
	if [ "$MYKERN" == "Linux" ];then
		# shellcheck disable=SC1090
		if [ -r "${BBD}/${i}.linux.bash" ];then
			source "${BBD}/${i}.linux.bash"
		else true
		fi
	fi
	# shellcheck disable=SC1090
	if [ -r "${BBD}/${i}.bash.local" ];then
		source "${BBD}/${i}.bash.local"
	else true
	fi
done
# shellcheck disable=SC1090
[ -e "${HOME}/.ssh/sshenv" ] && source "${HOME}/.ssh/sshenv"||true