245:66d0e2418b2f
Anton Shestakov <av6@dwimlabs.net>, Sat, 26 Nov 2022 02:07:35 +0400
.vimrc: set updatetime from 4000ms to 500ms This matters for certain async plugins, such as signify, that use CursorHold autocommand event. Signify recommends going as low as 100, but 500 should be good enough.

next change 280:e009ba62b974
previous change 220:bfd08e9028da

.bashrc

Permissions: -rw-r--r--

Other formats: Feeds:
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
umask 0077
# append to the history file, don't overwrite it
shopt -s histappend
HISTSIZE=-1
HISTFILESIZE=30000
HISTCONTROL=ignoreboth
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
[ -x /usr/bin/keychain ] && eval "$(keychain --eval --quiet)"
if [ -x /usr/bin/dircolors ]; then
if [ -r ~/.dircolors ]; then
eval "$(dircolors -b ~/.dircolors)"
else
eval "$(dircolors -b)"
fi
fi
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f ~/.bash_prompt ]; then
. ~/.bash_prompt
fi
#export PATH="/usr/lib/ccache:$PATH"
# enable programmable completion features (you don't need to enable
# 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
fi
# hg() {
# LC_ALL=en_US.UTF-8 "$HOME/hg/hg" "$@"
# }
# qr() {
# qrencode "$@" -o - | feh -
# }
fj() {
for ext in net profile sh; do
sed -e 's/template.\(net\|profile\|sh\)/'"$1"'.\1/g' \
-e 's/wine-template/wine-'"$1"'/g' \
~/.dotfiles/fj/template.$ext > "$1".$ext
done
chmod +x "$1".sh
}
# Makes C-S visible to bash, so C-R and C-S search through history back and
# forward
stty -ixon