blob: 26a319a6083a1e287efcee411c0b5ee9a1e88b02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# -*- shell-script -*-
# If not running interactively, don't do anything
if [[ $- != *i* ]]; then
return
fi
# Don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
# Append to the history file, don't overwrite it
shopt -s histappend
# For setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# Check the window size after each command and, if necessary, update the values of LINES and COLUMNS.
shopt -s checkwinsize
set -o physical
alias cd='cd -L'
if test -r ~/.config/bash/aliases; then
. ~/.config/bash/aliases
fi
if test -r /etc/bash_opt; then
. /etc/bash_opt
fi
. ~/.config/bash/bashrc_palette
. ~/.config/bash/bashrc_prompt
for __script in ~/.config/bash/bashrc.d/*; do
if test -r "${__script}"; then
. "${__script}"
fi
done
unset __script
if test -r ~/.config/bash/"bashrc-$(hostname)"; then
. ~/.config/bash/"bashrc-$(hostname)"
fi
if test -r ~/work/.config/bash/bashrc; then
. ~/work/.config/bash/bashrc
fi
if test "$TERM" = linux; then
printf '\e[?8c'
if test -n "$PALETTE"; then
printf "$PALETTE"'\e[H\e[2J'
fi
palette-set `blackNcsColours`
elif test "$TERM" = xterm; then
export TERM=xterm-256color
fi
featherweight-off
|