all repos — dotfiles @ 34967f2735d2094d62af462fc58c71ef17c4b5ee

my *nix dotfiles

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