Comments (4)
Please try "head -n -1" command.
If successful, fix it.
from xxenv-latest.
$ git diff
diff --git a/bin/xxenv-latest b/bin/xxenv-latest
index 90bf61c..7c59143 100755
--- a/bin/xxenv-latest
+++ b/bin/xxenv-latest
@@ -130,7 +130,7 @@ uninstall_not_latest() {
esac
shift 1
done
- for version in $(get_local_versions $version_prefix | head --lines=-1); do
+ for version in $(get_local_versions $version_prefix | head -n -1); do
$COMMAND uninstall $new_args $version
done
}
$ pyenv latest uninstall 3.7
head: illegal line count -- -1
from xxenv-latest.
@momo-lab @hugovk, PR #13 submitted to address this issue.
from xxenv-latest.
marged.
from xxenv-latest.
Related Issues (10)
- pyenv latest install fails, says "Latest version is ' 3.8.5'" HOT 2
- "anaconda2" cannot be installed with pyenv HOT 1
- "chakracore-nightly" is installed with nodenv HOT 1
- If you specify 3.5.1 it will install 3.5.10
- Enhance pypy support HOT 2
- Latest version not selected correctly after yesterday's update HOT 1
- Plugin broken/no longer required on latest pyenv
- latest local should skip python virtualenvs HOT 1
- goenv/phpenv support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xxenv-latest.