From 329ed23c520bcc45332c6641d6873fc6bb7cbddc Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 25 May 2024 12:40:52 +0200 Subject: local fixes --- .bash/aliases.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.bash') diff --git a/.bash/aliases.bash b/.bash/aliases.bash index 86334b7..718e4d3 100644 --- a/.bash/aliases.bash +++ b/.bash/aliases.bash @@ -13,11 +13,13 @@ alias lst="ls -l --time-style=full-iso" alias cls=' echo -ne "\033c"' alias pip-update="sudo pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo pip install -U" alias matrix='cmatrix -sbu6 -C cyan' +alias tbc='tbclock -e -H2 -M7 -S3' command -v colordiff >/dev/null 2>&1&&alias diff="colordiff" command -v colormake >/dev/null 2>&1&&alias make="colormake" alias perllint="perl -Mstrict -Mdiagnostics -cw" alias scredit='gimp "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' alias scrview='pqiv -i "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' +alias scrls='ls -l "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' alias fuck='sudo $(history -p \!\!)' alias x509-out='openssl x509 -text -certopt no_version,no_pubkey,no_sigdump,no_aux,no_header -noout -in' alias isocreate='rm -vf /tmp/image.iso && mkisofs -v -r -J -translation-table -hide-joliet-trans-tbl -iso-level 4 -o /tmp/image.iso' @@ -92,9 +94,9 @@ xstat() { } # ----- PACKAGE MANAGERS ----- # if [ -x "/usr/bin/pikaur" ];then - alias pkgclean="pikaur --no-confirm -Sc" + alias pkgclean="pikaur --noconfirm -Sc" elif [ -x "/usr/bin/pacman" ];then - alias pkgclean="/usr/bin/sudo /usr/bin/pacman --no-confirm -Sc" + alias pkgclean="/usr/bin/sudo /usr/bin/pacman --noconfirm -Sc" elif [ -x "/usr/bin/apt" ];then alias pkgclean="/usr/bin/sudo /usr/bin/apt clean" elif [ -x "/usr/bin/dnf" ];then -- cgit v1.2.3