-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.bashrc
More file actions
28 lines (22 loc) · 807 Bytes
/
docker.bashrc
File metadata and controls
28 lines (22 loc) · 807 Bytes
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
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# colors
export CLICOLOR=1
export LSCOLORS=dxfxcxbxegedabagacad
# history
export HISTCONTROL=erasedups
export HISTFILESIZE=10000
export HISTSIZE=10000
shopt -s histappend
# prompt
export PS1="\[\033[31m\][Docker] \[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
# load functions & aliases
[[ -f "/.docker.functions" ]] && source "/.docker.functions"
[[ -f "/.docker.aliases" ]] && source "/.docker.aliases"