summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-20 14:02:03 -0700
committermo khan <mo.khan@gmail.com>2020-02-20 14:02:03 -0700
commit565a3f25eee61dfbb1256542f54a1993c70b39a5 (patch)
treeaab52b34a3a07a4a83726096c0de1662a95f8ef0
parent5cae1bb6b3a11b172716a5b56f91ef65302e20d3 (diff)
Specify a space delimiter
-rw-r--r--config/.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/.bashrc b/config/.bashrc
index bfa2b40..e326059 100644
--- a/config/.bashrc
+++ b/config/.bashrc
@@ -38,8 +38,8 @@ function scrub() {
}
while IFS= read -r line; do
- tool=$(echo "$line" | cut -f1)
- default_version=$(echo "$line" | cut -f2)
+ tool=$(echo "$line" | cut -d' ' -f1)
+ default_version=$(echo "$line" | cut -d' ' -f2)
asdf global "$tool" "$default_version"
done < "$HOME/.tool-versions"