all repos — dotfiles @ daf6d1184e9d943cd97fcef6a4545f9c804a8468

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