You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB
Cheetah

if [[ ${BASH_VERSION} != "3.2*" ]]; then
shopt -s autocd
fi
# append to the history file, don't overwrite it
shopt -s histappend
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# always save bash history before showing prompt; allow reloading bashrc
if [[ ! $PROMPT_COMMAND =~ "history -a" ]]; then
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
fi
{{ if and (lookPath "setxkbmap") (eq .chezmoi.os "linux") -}}
# Disable capslock
setxkbmap -option ctrl:nocaps
{{- end }}
{{ if lookPath "lesspipe" -}}
# make less more friendly for non-text input files, see lesspipe(1)
eval "$(SHELL=/bin/sh {{ lookPath "lesspipe" }})"
{{- end }}
{{ if lookPath "dircolors" -}}
# enable color support of ls and also add handy aliases
if test -r ~/.dircolors; then
eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
fi
{{- end }}
if [[ -d "${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" ]]; then
if [[ ":${PATH}:" != *":${XDG_DATA_HOME}/JetBrains/Toolbox/scripts:"* ]]; then
export PATH="${PATH}:${XDG_DATA_HOME}/JetBrains/Toolbox/scripts"
fi
fi
# vim: filetype=bash