bin: make shellcheck happy about my scripts

This commit is contained in:
Olexandr Smirnov 2025-07-30 18:59:39 +03:00
parent fe22aa56af
commit 2631b4accf
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC2046
sudo pacman -Syu --noconfirm sudo pacman -Syu --noconfirm
paru -Sua --noconfirm paru -Sua --noconfirm
sudo pacman -Rns $(pacman -Qdtq) --noconfirm sudo pacman -Rns $(pacman -Qdtq) --noconfirm

View file

@ -1,2 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC2016
watch -n1 'grep -E "(Dirty|Write)" /proc/meminfo; echo; ls /sys/block/ | while read -r device; do awk "{ print \"$device: \" \$9 }" "/sys/block/$device/stat"; done' watch -n1 'grep -E "(Dirty|Write)" /proc/meminfo; echo; ls /sys/block/ | while read -r device; do awk "{ print \"$device: \" \$9 }" "/sys/block/$device/stat"; done'