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"
10
11socks() {
12 pkill ssh
13 ssh -D 8008 emerald -fN
14}
15
16gst() {
17 branch="$(git branch)"
18 printf '%s\n' "$branch"
19 git status --short
20}
21
22up() {
23 ~/bin/icyup.sh "$1"
24}
25
26nvmon() {
27 source ~/.nvm/nvm.sh
28}
29
30envac() {
31 . .env/bin/activate
32}
33
34vpn() {
35 ~/bin/vpnon.sh
36}
37
38dt() {
39 time.sh -n
40}
41
42ggp() {
43 git push "$(git remote show)" "$(git branch --show-current)"
44}
45
46gcl() {
47 git clone "$@"
48}