-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
32 lines (26 loc) · 1.17 KB
/
Copy path.bashrc
File metadata and controls
32 lines (26 loc) · 1.17 KB
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
# Interactive bash config
[ -z "$PS1" ] && return # bail if non-interactive
[ -z "$EDITOR" ] && [ -f "$HOME/.config/shell/profile" ] && . "$HOME/.config/shell/profile"
[ -f "$HOME/.config/shell/aliases" ] && . "$HOME/.config/shell/aliases"
[ -f "$HOME/.config/shell/functions" ] && . "$HOME/.config/shell/functions"
PS1='\u@\W \$ '
HISTSIZE=10000
HISTFILESIZE=10000
HISTCONTROL=ignoredups:ignorespace
# ki knowledge base — main KB served on ridilab; this machine queries it remotely.
# Used by `ki ask`/`ki search` (--remote overrides). Page authoring/edits happen on ridilab.
export KI_SERVER=http://ridilab.tail096901.ts.net:8412
# Linux essentials
if [ "$(uname)" = "Linux" ]; then
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
fi
# bash completion
if ! shopt -oq posix; then
[ -f /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
fi
fi
[ -f "$HOME/.shellrc.local" ] && . "$HOME/.shellrc.local"