commit b8b254188d066649126f67ee0ab289284ce53f1b
parent 6818dd6baaa8bf4542ed1668b0767f52d5eafbdf
Author: hhvn <dev@hhvn.uk>
Date: Tue, 13 Apr 2021 21:16:26 +0100
.c/k/alias: add some aliases
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.config/ksh/alias b/.config/ksh/alias
@@ -16,6 +16,7 @@ irclog(){
cat $(find $dir | sed -E 's/(..)-(..)-(..)/\3-\2-\1/g' | sort | sed -E 's/(..)-(..)-(..)/\3-\2-\1/g') | ${log2ansi:-cat}| less
}
alias q="exit"
+alias duf="duf -style ascii"
alias g="git"
alias vsplit="vim -O"
alias split="vim -o"
@@ -87,7 +88,8 @@ alias .........="cd ../../../../../../../.."
alias ..........="cd ../../../../../../../../.."
alias ...........="cd ../../../../../../../../../.."
alias ............="cd ../../../../../../../../../../.."
-alias bbs="nc bbs.hlirc.net 23"
+alias bbs="printf '\n%s\n%s\n' 'hhvn' \"$(dpass bbs.hlirc.net)\" | cat - /dev/tty | nc bbs.hlirc.net 23"
+alias camerasync="rsync -azP /mnt/DCIM/* ~/general/images/byme"
matrix(){
ssh matrix & >/dev/null
sleep 0.5