all repos — dotfiles @ 78b555e3301eda41a89f4fc0caac1cc3efc1f1f2

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 .."
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
39ggp() {
40    git push "$(git remote show)" "$(git branch --show-current)" 
41}
42
43gcl() {
44    git clone "$@"
45}