ksh/.kshrc.d/90-aliases.ksh (view raw)
1alias gah='sudo $(fc -ln -1)'
2alias vime="vim ~/.vimrc"
3alias o="xdg-open"
4alias gc="git commit -v -s"
5alias ga="git add"
6alias gd="git diff --minimal"
7alias gl="git log --oneline --decorate --graph"
8alias ls="colorls -G"
9alias vim="nvim"
10alias ..="cd .."
11
12socks() {
13 pkill ssh
14 ssh -D 8008 emerald -fN
15}
16
17gst() {
18 branch="$(git branch)"
19 printf '%s\n' "$branch"
20 git status --short
21}
22
23up() {
24 ~/bin/icyup.sh "$1"
25}
26
27nvmon() {
28 source ~/.nvm/nvm.sh
29}
30
31envac() {
32 . .env/bin/activate
33}
34
35vpn() {
36 ~/bin/vpnon.sh
37}
38
39dt() {
40 time.sh -n
41}
42
43ggp() {
44 git push "$(git remote show)" "$(git branch --show-current)"
45}
46
47gcl() {
48 git clone "$@"
49}