diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 09:17:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 09:17:01 +1200 |
commit | 4410d7b9abedb96fb6082a12b783f9f2ea3680b7 (patch) | |
tree | 2e3e915eea7f030a99c47d661391a5067e944f9a /bin/plmu | |
parent | Handle different .* expansion in cf(1), dub(1) (diff) | |
download | dotfiles-4410d7b9abedb96fb6082a12b783f9f2ea3680b7.tar.gz dotfiles-4410d7b9abedb96fb6082a12b783f9f2ea3680b7.zip |
Sort plenv modules list
Diffstat (limited to 'bin/plmu')
-rwxr-xr-x | bin/plmu | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,8 +10,9 @@ if ! sort -c -- "$ef" ; then exit 1 fi -# Get the list of modules -plenv list-modules | +# Get the list of modules; sort them in case our current locale disagrees on +# the existing sorting +plenv list-modules | sort | # Exclude any modules in ~.plenv/non-cpanm-modules if it exists comm -23 -- - "$ef" | |