-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
44 lines (33 loc) · 901 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
35
36
37
38
39
40
41
42
43
44
# Short bender.
alias b="bender"
# Go to and activate the given install name. E.g.:
# bgo sund
function bgo() {
cd $(bender cd $1) && source $(bender source)
}
# Shortcut to runserver.
function br() {
python manage.py runserver $(bender runserver)
}
export LC_CTYPE=da_DK.utf8
export LC_ALL=da_DK.utf8
export PATH=~/wl/bender:$PATH
alias l='ls -lah'
alias cd..='cd ..'
## a quick way to get out of current directory ##
alias ..='cd ..'
alias ...='cd ../../../'
alias ....='cd ../../../../'
alias .....='cd ../../../../'
alias .4='cd ../../../../'
alias .5='cd ../../../../..'
function cdl() {
cd "$@" && ls -la
}
function mk() {
mkdir -p "$@" && cd "$@"
}
function hgcp() {
hg ci -m $1 && hg push
}
alias sund="cd ~/wl/sund/sundhedstallet"