zshrc: run prettier

This commit is contained in:
Aminda Suomalainen 2024-07-14 16:34:10 +03:00
parent 345fe98f79
commit 16cc8855c7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -30,8 +30,7 @@ UNAME=$(uname)
# enable terminal bell
if [[ -f /usr/bin/xset ]];
then
if [[ -f /usr/bin/xset ]]; then
(xset b on &)
fi
@ -575,8 +574,7 @@ alias mpvm="mpv --no-video"
alias mpvms="mpv --no-video --shuffle"
# Compatibility with my i3 alsactl mess
if [ -f ~/.config/asound.state ]
then
if [ -f ~/.config/asound.state ]; then
alias alsactl="\alsactl -f ~/.config/asound.state"
fi
@ -645,9 +643,7 @@ function geoip() {
## for unit193 ;)
## use command "ex" to extract any archive files.
## "ex package.zip" for example
function ex ()
{
function ex() {
if [ -f "$1" ]; then
case "$1" in
*.tar) tar xvf $1 ;;
@ -664,9 +660,11 @@ case "$1" in
DIR=${1%%_*.deb}
ar xv $1
mkdir ${DIR}
tar -C ${DIR} -xzvf data.tar.gz ;;
tar -C ${DIR} -xzvf data.tar.gz
;;
*.rpm) rpm2cpio $1 | cpio -vid ;;
*) echo ""${1}" cannot be extracted via extract()"
*)
echo ""${1}" cannot be extracted via extract()"
;;
esac
else