summaryrefslogtreecommitdiff
path: root/.profile
blob: 9062116ce4848f2b0143600760c31d1de8d48f3d (plain)
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
# globals
PATH="$HOME/u/bin":$PATH:"$HOME/.local/bin"

PS1="\e[01;32m\u\e[0m@\e[01;33m\h\e[0m:\e[01;34m\W\e[0m; "

export EDITOR=nvim
export VISUAL=$EDITOR
export PAGER="less -R"
export MANWIDTH=80
export SHELL=/bin/ash

# useful aliases

l() {
    command ls "$@"
}

ls() {
    l -lhS "$@"
}

la() {
    ls -A "$@"
}

vim() {
    nvim "$@"
}

dots() {
    /usr/bin/git --git-dir=$HOME/.dots --work-tree=$HOME "$@"
}


# enter vi mode