style: format fish files with fish_indent
This commit is contained in:
@@ -23,9 +23,9 @@ function cleanup --description 'Log orphans to ~/.removed_orphans and remove the
|
||||
set -l orphans (pacman -Qtdq)
|
||||
if test -n "$orphans"
|
||||
echo "📝 Logging orphans to ~/.removed_orphans..."
|
||||
echo "--- Removed on $(date) ---" >> ~/.removed_orphans
|
||||
pacman -Qi $orphans | grep -E '^(Name|Version)' >> ~/.removed_orphans
|
||||
|
||||
echo "--- Removed on $(date) ---" >>~/.removed_orphans
|
||||
pacman -Qi $orphans | grep -E '^(Name|Version)' >>~/.removed_orphans
|
||||
|
||||
echo "🧹 Removing orphans..."
|
||||
sudo pacman -Rns $orphans
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user