-m bashrc: add log

This commit is contained in:
Your Name
2024-08-26 02:17:24 +09:00
parent c6efc1fbcf
commit e43febe5de

View File

@@ -22,7 +22,7 @@ log() {
}
alias i="sudo apt-get install -y"
alias debian="docker run -it --rm --gpus all python:3.12-slim bash"
alias debian="docker run -it --rm --gpus all --network host python:3.12-slim bash"
alias download="huggingface-cli download"
alias journal="sudo journalctl -u"
alias make="make -j"
@@ -128,6 +128,7 @@ alias weather="curl ko.wttr.in"
alias dryblack="clear; black --check --diff --color ."
alias compose="docker compose"
alias compsoe="compose"
alias ps="ps ux"
clone() { git clone "https://git.yauk.tv/$@"; }
@@ -147,3 +148,8 @@ ign() {
alias r="redis-cli"
q() { "$@" > /dev/null 2>&1 & }
log() {
python -c "while log := __import__('redis').Redis().brpop('log'): print(log[1].decode())"
}