From 5dc2f54e993a019561fe8285347aeb473f028e1a Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Sun, 29 Aug 2021 18:06:40 +0200 Subject: [PATCH] zshrc: cleanup, fix typo Jue -> Juf --- etc/zsh/zshrc | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 07f57c2..1ab84d9 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -43,13 +43,12 @@ alias gitl="git log --shortstat --graph" alias gitd="git diff --word-diff" alias Y="noglob youtube-dl --no-check-certificate -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'" alias Ysound="noglob youtube-dl --no-check-certificate -f bestaudio" -alias units="units -v" alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0" alias pp=python2 alias ppp=python3 alias Ju="journalctl --unit" alias Jue="journalctl --pager-end --unit" -alias Jue="journalctl --follow --full --unit" +alias Juf="journalctl --follow --full --unit" alias Ss="systemctl status --no-pager --full --lines=25" alias SE="systemctl enable" alias SD="systemctl disable" @@ -59,7 +58,7 @@ alias SL="systemctl reload" alias SX="systemctl stop" alias uJu="journalctl --user --unit" alias uJue="journalctl --user --pager-end --unit" -alias uJue="journalctl --user --follow --full --unit" +alias uJuf="journalctl --user --follow --full --unit" alias uSs="systemctl --user status --no-pager --full --lines=25" alias uSE="systemctl --user enable" alias uSD="systemctl --user disable" @@ -68,7 +67,6 @@ alias uSR="systemctl --user restart" alias uSL="systemctl --user reload" alias uSX="systemctl --user stop" alias dmesg="dmesg -e" -alias Wa=watson # apparently this is the only way of setting GNU Screen to UTF-8 alias screen="screen -U" @@ -129,27 +127,6 @@ kill_screens () { done } -# winetricks tools -wt-prefix () { - export WINEPREFIX="$HOME/.local/share/wineprefixes/$1" - - grep "#arch=win32" "${WINEPREFIX}/system.reg" > /dev/null - - if [[ $? -eq 0 ]]; then - export WINEARCH="win32" - else - unset WINEARCH - fi -} - -wt-goto_c () { - cd $WINEPREFIX/drive_c -} - -wt-list_prefixes () { - ls $* $HOME/.local/share/wineprefixes/ -} - http-dir () { echo "Serving $PWD on 0.0.0.0:55555" python3 -m http.server 55555