|
|
@ -22,6 +22,7 @@ duh "du -d 1 -h --apparent-size | sort -h" |
|
|
|
dum "du -d 1 -m --apparent-size | sort -h" |
|
|
|
# m "man" |
|
|
|
td "tldr" |
|
|
|
whi "whereis" |
|
|
|
|
|
|
|
# ]]] basic # |
|
|
|
|
|
|
@ -54,8 +55,8 @@ awkp "awk -F',' '{print \$0}'" |
|
|
|
fde "fd -e" |
|
|
|
grep "grep --color=auto -n" |
|
|
|
grpr "grep -r" |
|
|
|
rg "rg -S" |
|
|
|
rge "rg -St" |
|
|
|
rgc "rg -S" |
|
|
|
rge "rg -t" |
|
|
|
# pk "pkill -f" |
|
|
|
cld "colordiff -wy --suppress-common-lines" |
|
|
|
|
|
|
@ -383,6 +384,7 @@ ka "killall" |
|
|
|
kd "killall Discord && killall Discord" |
|
|
|
ke "killall electron" |
|
|
|
kf "killall firefox" |
|
|
|
kag "killall gopls" |
|
|
|
kai "killall imwheel && imwheel" |
|
|
|
kt "killall thunderbird" |
|
|
|
lo "libreoffice" |
|
|
@ -440,8 +442,8 @@ usn "usernames --num 20" |
|
|
|
vmd "vimdiff" |
|
|
|
wc "wc -l" |
|
|
|
wch "weechat" |
|
|
|
# wg "wego" |
|
|
|
wg "curl -L wthr.ml" |
|
|
|
wg "wego" |
|
|
|
# wg "curl -L wthr.ml" |
|
|
|
wgm "curl -L wthr.ml/m" |
|
|
|
wgt "curl -L wthr.ml/t" |
|
|
|
yt "youtube-dl" |
|
|
@ -548,7 +550,7 @@ gmgt "git mergetool" |
|
|
|
gr "git remote -v" |
|
|
|
gra "git remote add origin" |
|
|
|
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" |
|
|
|
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" |
|
|
|
gdc "git diff --cached -w" |
|
|
|
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" |
|
|
|
gdtc "git difftool -w --cached --tool=vimdiff" |
|
|
|
gl "git log -5" |
|
|
@ -595,6 +599,7 @@ glm "git log master" |
|
|
|
gqs "git-quick-stats -T" |
|
|
|
# gsl "git shortlog" |
|
|
|
gsh "git show" |
|
|
|
gshh "git show HEAD" |
|
|
|
|
|
|
|
# ]]] diff/log # |
|
|
|
|
|
|
@ -613,11 +618,18 @@ gchnw "git checkout -b wip" |
|
|
|
gchw "git checkout wip" |
|
|
|
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 |
|
|
|
# gls "git ls-tree -r 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" |
|
|
|
gps "git push" |
|
|
|
gpso "git push origin" |
|
|
|
gpsoh "git push -f origin HEAD:" |
|
|
|
gpsg "git push gitea" |
|
|
|
gpsd "git push origin --delete" |
|
|
|
# gpsi "git config credential.helper store && git push" |
|
|
@ -860,6 +873,7 @@ gchk "git checkout KOGITO-" |
|
|
|
gch2 "git checkout KOGITO-2113" |
|
|
|
|
|
|
|
loe "libreoffice ~/Documents/expenses/2020.ods &" |
|
|
|
loi "libreoffice ~/Documents/expenses/investments.ods &" |
|
|
|
ssw "mosh $WORK_LAPTOP_IP tmux a" |
|
|
|
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat" |
|
|
|
scw "scp $WORK_LAPTOP_IP:" |
|
|
@ -913,4 +927,8 @@ got "go test" |
|
|
|
gota "go test *" |
|
|
|
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 # |