|
@ -22,6 +22,7 @@ duh "du -d 1 -h --apparent-size | sort -h" |
|
|
dum "du -d 1 -m --apparent-size | sort -h" |
|
|
dum "du -d 1 -m --apparent-size | sort -h" |
|
|
# m "man" |
|
|
# m "man" |
|
|
td "tldr" |
|
|
td "tldr" |
|
|
|
|
|
whi "whereis" |
|
|
|
|
|
|
|
|
# ]]] basic # |
|
|
# ]]] basic # |
|
|
|
|
|
|
|
@ -54,8 +55,8 @@ awkp "awk -F',' '{print \$0}'" |
|
|
fde "fd -e" |
|
|
fde "fd -e" |
|
|
grep "grep --color=auto -n" |
|
|
grep "grep --color=auto -n" |
|
|
grpr "grep -r" |
|
|
grpr "grep -r" |
|
|
rg "rg -S" |
|
|
|
|
|
rge "rg -St" |
|
|
|
|
|
|
|
|
rgc "rg -S" |
|
|
|
|
|
rge "rg -t" |
|
|
# pk "pkill -f" |
|
|
# pk "pkill -f" |
|
|
cld "colordiff -wy --suppress-common-lines" |
|
|
cld "colordiff -wy --suppress-common-lines" |
|
|
|
|
|
|
|
@ -383,6 +384,7 @@ ka "killall" |
|
|
kd "killall Discord && killall Discord" |
|
|
kd "killall Discord && killall Discord" |
|
|
ke "killall electron" |
|
|
ke "killall electron" |
|
|
kf "killall firefox" |
|
|
kf "killall firefox" |
|
|
|
|
|
kag "killall gopls" |
|
|
kai "killall imwheel && imwheel" |
|
|
kai "killall imwheel && imwheel" |
|
|
kt "killall thunderbird" |
|
|
kt "killall thunderbird" |
|
|
lo "libreoffice" |
|
|
lo "libreoffice" |
|
@ -440,8 +442,8 @@ usn "usernames --num 20" |
|
|
vmd "vimdiff" |
|
|
vmd "vimdiff" |
|
|
wc "wc -l" |
|
|
wc "wc -l" |
|
|
wch "weechat" |
|
|
wch "weechat" |
|
|
# wg "wego" |
|
|
|
|
|
wg "curl -L wthr.ml" |
|
|
|
|
|
|
|
|
wg "wego" |
|
|
|
|
|
# wg "curl -L wthr.ml" |
|
|
wgm "curl -L wthr.ml/m" |
|
|
wgm "curl -L wthr.ml/m" |
|
|
wgt "curl -L wthr.ml/t" |
|
|
wgt "curl -L wthr.ml/t" |
|
|
yt "youtube-dl" |
|
|
yt "youtube-dl" |
|
@ -548,7 +550,7 @@ gmgt "git mergetool" |
|
|
gr "git remote -v" |
|
|
gr "git remote -v" |
|
|
gra "git remote add origin" |
|
|
gra "git remote add origin" |
|
|
grao "git remote add orig" |
|
|
grao "git remote add orig" |
|
|
# grag "git remote add gitea git@ataraxy.tk:Kevin-Mok/.git" |
|
|
|
|
|
|
|
|
grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/" |
|
|
|
|
|
|
|
|
grr "git remote remove origin" |
|
|
grr "git remote remove origin" |
|
|
gru "git branch --set-upstream-to=origin/master master" |
|
|
gru "git branch --set-upstream-to=origin/master master" |
|
@ -584,7 +586,9 @@ grmor "rm (fd -e orig --no-ignore -H)" |
|
|
gd "git diff -w" |
|
|
gd "git diff -w" |
|
|
gdc "git diff --cached -w" |
|
|
gdc "git diff --cached -w" |
|
|
gdh "git diff --cached -w HEAD~1" |
|
|
gdh "git diff --cached -w HEAD~1" |
|
|
gds "git diff --stat" |
|
|
|
|
|
|
|
|
# gds "git diff --stat" |
|
|
|
|
|
# gdsc "git diff --stat --cached -w" |
|
|
|
|
|
gds "git diff --stat --cached -w" |
|
|
gdt "git difftool -w --tool=vimdiff" |
|
|
gdt "git difftool -w --tool=vimdiff" |
|
|
gdtc "git difftool -w --cached --tool=vimdiff" |
|
|
gdtc "git difftool -w --cached --tool=vimdiff" |
|
|
gl "git log -5" |
|
|
gl "git log -5" |
|
@ -595,6 +599,7 @@ glm "git log master" |
|
|
gqs "git-quick-stats -T" |
|
|
gqs "git-quick-stats -T" |
|
|
# gsl "git shortlog" |
|
|
# gsl "git shortlog" |
|
|
gsh "git show" |
|
|
gsh "git show" |
|
|
|
|
|
gshh "git show HEAD" |
|
|
|
|
|
|
|
|
# ]]] diff/log # |
|
|
# ]]] diff/log # |
|
|
|
|
|
|
|
@ -613,11 +618,18 @@ gchnw "git checkout -b wip" |
|
|
gchw "git checkout wip" |
|
|
gchw "git checkout wip" |
|
|
gchh "git checkout HEAD --" |
|
|
gchh "git checkout HEAD --" |
|
|
|
|
|
|
|
|
grs "git reset --hard" |
|
|
|
|
|
grss "git reset --soft HEAD~1" |
|
|
|
|
|
grso "git reset --hard origin/master" |
|
|
|
|
|
grsh "git reset --hard HEAD" |
|
|
|
|
|
grsh1 "git reset --hard HEAD~1" |
|
|
|
|
|
|
|
|
# grss "git reset --soft HEAD~1" |
|
|
|
|
|
# grs "git reset --hard" |
|
|
|
|
|
# grso "git reset --hard origin/master" |
|
|
|
|
|
# grsh "git reset --hard HEAD" |
|
|
|
|
|
# grsh1 "git reset --hard HEAD~1" |
|
|
|
|
|
grs "git reset --soft" |
|
|
|
|
|
grsh1 "git reset --soft HEAD~1" |
|
|
|
|
|
grso "git reset --soft orig/master" |
|
|
|
|
|
grsh "git reset --hard" |
|
|
|
|
|
grsho "git reset --hard origin/master" |
|
|
|
|
|
grshh "git reset --hard HEAD" |
|
|
|
|
|
grshh1 "git reset --hard HEAD~1" |
|
|
# show files in git repo |
|
|
# show files in git repo |
|
|
# gls "git ls-tree -r HEAD --name-only" |
|
|
# gls "git ls-tree -r HEAD --name-only" |
|
|
gls "git ls-tree HEAD --name-only" |
|
|
gls "git ls-tree HEAD --name-only" |
|
@ -654,6 +666,7 @@ gcap "git add -A && git commit --amend --no-edit -S && git push --force" |
|
|
psgi "git add -A && git commit -m 'Update' -S && git push" |
|
|
psgi "git add -A && git commit -m 'Update' -S && git push" |
|
|
gps "git push" |
|
|
gps "git push" |
|
|
gpso "git push origin" |
|
|
gpso "git push origin" |
|
|
|
|
|
gpsoh "git push -f origin HEAD:" |
|
|
gpsg "git push gitea" |
|
|
gpsg "git push gitea" |
|
|
gpsd "git push origin --delete" |
|
|
gpsd "git push origin --delete" |
|
|
# gpsi "git config credential.helper store && git push" |
|
|
# gpsi "git config credential.helper store && git push" |
|
@ -860,6 +873,7 @@ gchk "git checkout KOGITO-" |
|
|
gch2 "git checkout KOGITO-2113" |
|
|
gch2 "git checkout KOGITO-2113" |
|
|
|
|
|
|
|
|
loe "libreoffice ~/Documents/expenses/2020.ods &" |
|
|
loe "libreoffice ~/Documents/expenses/2020.ods &" |
|
|
|
|
|
loi "libreoffice ~/Documents/expenses/investments.ods &" |
|
|
ssw "mosh $WORK_LAPTOP_IP tmux a" |
|
|
ssw "mosh $WORK_LAPTOP_IP tmux a" |
|
|
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat" |
|
|
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat" |
|
|
scw "scp $WORK_LAPTOP_IP:" |
|
|
scw "scp $WORK_LAPTOP_IP:" |
|
@ -913,4 +927,8 @@ got "go test" |
|
|
gota "go test *" |
|
|
gota "go test *" |
|
|
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin" |
|
|
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin" |
|
|
|
|
|
|
|
|
|
|
|
dk "docker" |
|
|
|
|
|
dki "docker image" |
|
|
|
|
|
dkis "docker images" |
|
|
|
|
|
|
|
|
# ]]] red-hat # |
|
|
# ]]] red-hat # |