summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/util.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/util.fish b/install/util.fish
index 8742db4..812cee3 100644
--- a/install/util.fish
+++ b/install/util.fish
@@ -59,7 +59,7 @@ function install-optional-deps
for dep in $argv
if ! pacman -Q $dep &> /dev/null
read -l -p "input 'Install $dep? [Y/n] ' -n" confirm
- test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps (cut -f 1 -d ' ' $dep)
+ test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps (string split -f 1 ' ' $dep)
end
end
end