aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss7
1 files changed, 6 insertions, 1 deletions
diff --git a/kiss b/kiss
index f56c1d1..9bf5cc0 100755
--- a/kiss
+++ b/kiss
@@ -1239,7 +1239,12 @@ args() {
# keystrokes once you memorize the commands.
case $action in
a|alternatives)
- if [ "$1" ]; then
+ if [ "$1" = - ]; then
+ while read -r pkg path; do
+ pkg_swap "$pkg" "$path"
+ done
+
+ elif [ "$1" ]; then
pkg_swap "$@"
else