dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8611977c4de9f7ca742bead2c8fc89438e1543b3
parent 48f72ef1c2cc7c541e95161d432cc96356dd0818
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  4 Apr 2019 10:15:20 +0200

Fix read command in zsh

Diffstat:
Mbin/uu | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/uu b/bin/uu @@ -13,7 +13,7 @@ if [ "$(uname)" = "Linux" ]; then if [[ $(echo "$unused" | wc -l) -gt 1 ]]; then echo "Unused packages:" echo "$unused" - read -p "Delete unused packages? [y/N] " -n 1 -r + read -p "Delete unused packages? [y/N] " -k -r if [[ $REPLY =~ ^[Yy]$ ]]; then sudo pacman -Rns $unused fi