diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-23 12:44:54 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-23 12:44:54 -0700 |
| commit | 88bc263526eccdecfc99afd4911a4cede04da8c7 (patch) | |
| tree | 1a44e36d275453abbd013526d743108ab438c662 /config | |
| parent | 5df78baa785f6f117e764de0e99a769347971dc2 (diff) | |
Allow global to fallback to Python 2
Diffstat (limited to 'config')
| -rw-r--r-- | config/.bashrc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/.bashrc b/config/.bashrc index 19b2f29..155eeab 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -36,9 +36,7 @@ function scrub() { } while IFS= read -r line; do - tool=$(echo "$line" | cut -d' ' -f1) - default_version=$(echo "$line" | cut -d' ' -f2) - asdf global "$tool" "$default_version" + asdf global "$line" done < "$HOME/.tool-versions" if [ -n "$LM_PYTHON_VERSION" ]; then |
