-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bashrc
50 lines (40 loc) · 1.34 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export BASH_CONF="bashrc"
export VISUAL=vim
export EDITOR="$VISUAL"
# curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
source ~/.git-completion.bash
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\w\[\033[00m\]\$ '
alias drb='cd ~/Documents/Kiru/Repos/drb-student-los'
alias drbp="cd ~/Documents/Kiru/Repos/drb-personal-los"
alias drbs="cd ~/Documents/Kiru/Repos/drb-shared"
alias drbg="cd ~/Documents/Kiru/Repos/drb-shared-gulp"
alias sso="cd ~/Documents/Kiru/Repos/drb-sso"
alias work='cd ~/Documents/Kiru/Repos'
# enable control-s and control-q for vim
stty -ixon
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
dcb() {
docker-compose run --rm $1 bundle exec ${@:2}
}
dck() {
docker-compose kill
docker-compose rm -f $1
}
alias tc_download_scrub_main=download_scrub_main
alias tc_download_scrub_support=download_scrub_support
alias tc_go=download_restore_scrub
alias tc_restore=restore_scrub
alias dck=dck
alias dcb=dcb
alias dcps="docker-compose ps"
alias dcr="docker-compose run --rm"
alias dcu="docker-compose up -d"
alias dc="docker-compose"
alias dcl="docker-compose logs -f"
# after brew install redis@3.2
export PATH="/usr/local/opt/redis@3.2/bin:$PATH"
# after brew install postgresql@9.6
export PATH="/usr/local/opt/postgresql@9.6/bin:$PATH"