mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 00:40:44 +02:00
bin: make shellcheck happy about my scripts
This commit is contained in:
parent
fe22aa56af
commit
2631b4accf
2 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC2046
|
||||
|
||||
sudo pacman -Syu --noconfirm
|
||||
paru -Sua --noconfirm
|
||||
sudo pacman -Rns $(pacman -Qdtq) --noconfirm
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
#!/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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue