-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
34 lines (30 loc) · 807 Bytes
/
.bashrc
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
# conf
export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignoreboth
export HISTIGNORE="fg:bg:jobs"
export EDITOR="emacs"
# path
export PATH=$HOME/dotfiles/bin:$PATH
export TEXT_DIR=~/storage/text
# alias
alias docker-latest-container='docker ps -l -q'
alias docker-all-containers='docker ps -q -a'
alias docker-dangling-images='docker images -f "dangling=true" -q'
alias docker-dangling-volumes='docker volume ls -f "dangling=true" -q'
# per os
case $(uname) in
"Darwin")
# ls color
export CLICOLOR=1
export LSCOLORS=DxGxcxdxCxegedabagacad
export BASH_SILENCE_DEPRECATION_WARNING=1
export PATH=$HOME/homebrew/bin:$PATH
export PATH=$HOME/homebrew/opt/openssl/bin:$PATH
export PATH=$HOME/homebrew/opt/[email protected]/bin:$PATH
;;
"Linux")
;;
* )
;;
esac