zshrc: cleanup, fix typo Jue -> Juf
This commit is contained in:
parent
57a0770d9f
commit
5dc2f54e99
1 changed files with 2 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue