all repos — dotfiles @ d7b391845abc7e97f2b1b96c34b4b1789b2ab541

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 vim="nvim"
 9alias ..="cd .."
10alias m="nail"
11alias tb="nc termbin.com 9999 | xclip -sel c"
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}
47
48ls() {
49    if [ "$(uname)" == "OpenBSD" ]; then
50        colorls -G "$@"
51    else
52        /bin/ls -G "$@"
53    fi
54}