0
0
mirror of https://github.com/tj/n.git synced 2024-11-29 05:42:48 +01:00
Commit Graph

313 Commits

Author SHA1 Message Date
DeeDeeG
41400d6a60 bin/n: Option to download xz-compressed tarball
To download an xz-compressed tarball, set the environment variable
"N_USE_XZ" to be non-empty before running n.
2019-06-23 10:06:15 -04:00
John Gee
aeb20088b2 Use prerelease format like npm 2019-06-03 20:41:20 +12:00
John Gee
0be7c53b2f Preparing for (pre)release 2019-06-03 20:31:12 +12:00
John Gee
1747b7a819 Add support for tty detection, NO_COLOR, and CLICOLOR 2019-05-23 22:16:07 +12:00
John Gee
ae2207612e More informative install logging
- always install
- log when install from cache
- show same output installing from menu as from command line
- show diagnostics is installed version not active version
2019-05-21 23:24:24 +12:00
John Gee
1cf60d7806 Post release 2019-05-10 20:42:08 +12:00
John Gee
366e97cfb8 Preparing for release 2019-05-10 20:38:22 +12:00
John Gee
f6c12dda1c Follow shellcheck advice 2019-05-10 20:30:32 +12:00
John Gee
fda99f5da2 Add another reason for running uninstall. Lint. 2019-05-10 20:20:34 +12:00
John Gee
42eeb651c9 Remove bogus code from prompt 2019-05-09 22:28:28 +12:00
John Gee
18de5eead8 Add uninstall 2019-05-09 22:22:17 +12:00
John Gee
a454bcd271 Post release 2019-05-05 10:06:24 +12:00
John Gee
1ec95901d1 Preparing for release 2019-05-05 10:02:22 +12:00
John Gee
7e55db4e3e Update terminology to be more careful with current/latest 2019-05-04 21:11:53 +12:00
John Gee
6fc267147a Add single quotes around parameters in error messages 2019-04-21 13:02:38 +12:00
John Gee
b712e82419 More script improvements to follow ShellCheck advice 2019-04-21 12:30:17 +12:00
John Gee
4690694181 Remove trailing space from bin output 2019-04-21 12:14:51 +12:00
Peter Dave Hello
d59fbb061b Simplify $dots with string substitution 2019-04-20 09:37:17 +12:00
Peter Dave Hello
0278090d21 Check exit code directly, not indirectly with $? 2019-04-20 09:32:32 +12:00
Peter Dave Hello
41a4d11358 Use builtin command -v instead of non-standard which 2019-04-20 09:31:57 +12:00
Peter Dave Hello
2c07c82384 Use -n instead of ! -z 2019-04-20 09:30:30 +12:00
Peter Dave Hello
8567dcbde3 Use grep -E to replace non-standard egrep 2019-04-20 09:25:01 +12:00
Peter Dave Hello
f4b8119509 Use * instead of @ to prevent arg mix with string & array 2019-04-20 09:17:48 +12:00
John Gee
9c01cab397 Restore the previous quoting in is_oss_ok
This routine is faulty and should be rewritten or removed. Preserve the previous behaviour for now to avoid introducing regressions.
2019-04-20 09:05:20 +12:00
Peter Dave Hello
4c15daf70e Refactor script based on ShellCheck suggestion 2019-04-17 16:46:40 +12:00
John Gee
ac4c60b9a8 Post-release 2019-04-07 16:57:17 +12:00
John Gee
834954e1de Prepare for release 2019-04-07 16:43:48 +12:00
John Gee
844450f7f3 Remove mkdir run at launch 2019-04-07 16:38:56 +12:00
John Gee
0f4c63e557 Prepare for release 2019-04-05 20:34:11 +13:00
John Gee
ea0dbdd582 Merge branch 'shadowspawn-feature/n-cursor' into develop 2019-03-31 22:06:43 +13:00
John Gee
16820e015b Merge branch 'feature/n-cursor' of https://github.com/shadowspawn/nvh into shadowspawn-feature/n-cursor 2019-03-31 22:06:01 +13:00
John Gee
fe4d6eb650 Merge branch 'wmzy-master' into develop 2019-03-31 21:24:46 +13:00
John Gee
f3b0062d35 Merge branch 'master' of git://github.com/wmzy/n into wmzy-master 2019-03-31 21:21:57 +13:00
John Gee
f81b74d1f2 Post release 2019-03-29 20:25:59 +13:00
John Gee
00ef2b8896 Set version number for release 2019-03-24 20:36:49 +13:00
John Gee
0805795bbb Merge branch 'issue/262-rm' of https://github.com/shadowspawn/nvh into develop 2019-03-24 20:16:12 +13:00
John Gee
9fc47c043b Merge branch 'master' of git://github.com/joeledwards/n into develop 2019-03-24 20:15:11 +13:00
John Gee
1e9842175b Fix menu selection when installed version not present, and so can allow rm of active 2018-12-04 21:19:31 +13:00
John Gee
8042a79c93
Merge branch 'master' into feature/remove-io 2018-11-07 22:15:08 +13:00
Troy Connor
3366d06226
Merge pull request #467 from JohnRGee/issue/335-stable
Effectively make stable an alias for lts. (Solves issue #335)
2018-11-05 15:40:05 -05:00
Troy Connor
501e01bead
Merge pull request #531 from JohnRGee/issue/529-shift
Remove bogus shift from prune function (issue #529)
2018-11-05 15:37:43 -05:00
John Gee
956899a38a Change which to command -v 2018-10-16 21:17:48 +13:00
John Gee
6077768c88 Remove bogus shift from prune function (issue #529) 2018-10-16 20:40:37 +13:00
John Gee
9fb6eefaa2 Hide cursor while selecting version from menu 2018-09-29 17:58:00 +12:00
John Gee
4491931be6 Effectively make stable an alias for lts. (Solves issue #335) 2018-09-05 21:30:23 +12:00
John Gee
f86b3d1cfe Remove old io project support 2018-07-05 22:13:15 +12:00
wmzy
9f5a36a871 Fix n lts incorrect version 2018-06-26 15:36:13 +08:00
Troy Connor
8ad6cd3bc7
[package]Update package.json to 2.1.12 2018-06-11 14:07:43 -04:00
Troy Connor
36f6238c85
Merge pull request #470 from JohnRGee/feature/clean
Remove existing npm folder before copying activated version
2018-06-11 14:05:26 -04:00
Troy Connor
f5c8d642b9
[version]Changed to version 2.1.11 2018-05-18 11:38:27 -04:00