Trevor Brown
62015a750d
Add test for not adding duplicate paths to PATH
2019-04-06 13:23:30 -04:00
Trevor Brown
13b3d14cac
Add tests for code in asdf.sh
2019-04-06 12:43:39 -04:00
Daniel Perez
611fafbadc
Update version to 0.7.1
2019-03-31 21:15:17 +01:00
Daniel Perez
a4595da828
Prepare changelog for 0.7.1 release
2019-03-31 21:15:14 +01:00
Daniel Perez
401fcb4f31
Fix rc version check in release script
2019-03-31 21:14:46 +01:00
Daniel Perez
5e2468a16d
Merge pull request #504 from asdf-vm/fix-current-comments
...
Fix current when .tool-versions contains comments
2019-03-31 21:10:15 +01:00
Daniel Perez
ce895e9e76
Prepare changelog for 0.7.1 release
...
[skip ci]
2019-03-31 20:52:30 +01:00
Daniel Perez
6523971b40
Check for bash before mksh
2019-03-31 20:44:49 +01:00
Daniel Perez
b8ee616318
Fix current when .tool-versions contains comments
2019-03-31 20:39:36 +01:00
Daniel Perez
f2674374b0
Merge pull request #502 from asdf-vm/use-exec
...
Revert to using exec when running a shim
2019-03-31 20:15:46 +01:00
Trevor Brown
5d409821aa
Merge pull request #498 from asdf-vm/install-ignore-comments
...
Make install command ignore comments
2019-03-27 09:20:00 -04:00
Trevor Brown
bc3f4fe66a
Address shellcheck warning
2019-03-27 09:06:18 -04:00
Trevor Brown
603665ebda
Update code that removes comments and trailing whitespace so it works on OSX
2019-03-27 08:50:15 -04:00
Trevor Brown
28cf1a74b9
Create function for removing comments from .tool-versions files
2019-03-27 08:50:15 -04:00
Trevor Brown
1a4a9435f3
Make install command ignore comments
2019-03-27 08:50:15 -04:00
Daniel Perez
450660018c
Revert to using exec when running a shim
2019-03-26 17:36:08 +00:00
Trevor Brown
f359548381
Merge pull request #501 from HerbCSO/fix-verison-typo
...
Fix verison typo
2019-03-26 08:41:46 -04:00
Carsten Dreesbach
e9bc12c80c
Fix verison typo
2019-03-26 08:36:50 -04:00
James Hegedus
510bcdb118
note legacy version files in core setup guide ( #500 )
...
as suggested in https://github.com/asdf-vm/asdf/issues/499
2019-03-26 10:31:08 +11:00
Trevor Brown
bc1d9cb2c2
Merge pull request #497 from asdf-vm/rc-releases
...
Add support for RC releases
2019-03-25 08:19:30 -04:00
Trevor Brown
11f81580b9
Correct release script filename in lint.sh
2019-03-24 18:39:47 -04:00
Trevor Brown
85057b6969
Add support for RC versions to asdf update command
2019-03-24 18:24:19 -04:00
Damian Bouné
19167aafce
Add Homebrew instructions for install and bash ( #496 )
2019-03-25 09:12:23 +11:00
Trevor Brown
c418eb5976
Rename release.sh to tag.sh
2019-03-24 17:18:40 -04:00
Trevor Brown
8f55c720b0
Update release.sh script so it checks for RC tags before tagging new major and minor versions
2019-03-24 17:17:51 -04:00
Trevor Brown
cfa45ccc1a
Create release README
2019-03-24 16:26:03 -04:00
Daniel Perez
5a89e48045
Merge pull request #495 from asdf-vm/fix-edit-on-github
...
Use custom edit on github plugin. Fix #469
2019-03-24 19:26:22 +00:00
Daniel Perez
2d29d9534c
Use custom edit on github plugin. Fix #469
2019-03-24 14:30:53 +00:00
Daniel Perez
021e843f3f
Add fish completions for which command
2019-03-23 21:39:08 +00:00
Daniel Perez
c7243b27e7
Merge pull request #494 from asdf-vm/fix-shim-plugin-version
...
Fix shim_plugin_version
2019-03-23 21:35:10 +00:00
Daniel Perez
81709db18a
Fix shim_plugin_version
2019-03-23 21:21:55 +00:00
Trevor Brown
c60110c987
Merge pull request #493 from asdf-vm/where-command-improvement
...
Improve output of where command when system version is set
2019-03-23 11:44:15 -04:00
Trevor Brown
02f24df5e8
Improve output of where command when system version is set
2019-03-23 10:45:50 -04:00
James Hegedus
96e010396a
rename docs/hompage to docs/README to use default Docsify settings ( #492 )
...
rename docs/homepage.md to docs/README.md as the Docsify default of loading README.md works in a multi-lang setup whereas defining a custom homepage does not at this time.
2019-03-22 17:37:37 +11:00
James Hegedus
68ff07e09d
fix quote typo in docs homepage ( #490 )
...
# Summary
The homepage wasn't importing the required `.md` files appropriately due to the Docsify embed feature requiring single quotes, not double quotes.
## Other Information
We should update the information about Prettier use to specify that these pages require single quotes.
2019-03-22 17:27:07 +11:00
Daniel Perez
d75f02fc29
Update help.txt
2019-03-20 19:08:40 +00:00
Daniel Perez
1d43a052fe
Merge pull request #480 from jonmast/add-shell-command
...
Add "shell" subcommand for setting versions in shell session
2019-03-20 19:02:59 +00:00
Daniel Perez
f7302f5bcf
Merge pull request #487 from asdf-vm/fix-select-version
...
Fix select version when multiple versions available
2019-03-20 19:01:40 +00:00
Daniel Perez
edbf892fa8
Merge pull request #472 from fallwith/feature/mksh
...
asdf.sh: support mksh
2019-03-20 19:01:18 +00:00
fallwith
2743bcb7f7
asdf.sh: comments for script path determination
...
Update `asdf.sh` to explain that `$_`, `${BASH_SOURCE[0]}`, and `$0`
are used by Korn, Bash, and Zsh (and others) to obtain the path to the
script, and what those special variables mean.
2019-03-20 11:49:04 -07:00
Daniel Perez
0f0bbef50d
Fix select version when multiple versions available
...
With the previous version, the following case would fail.
It would use python 2.7.15 when running pip
instead of version 3.7.2.
Shim for `pip`
```bash
exec /home/daniel/.asdf/bin/asdf exec "pip" "$@"
```
`.tool-versions`:
```
python 3.7.2 2.7.15 system
```
2019-03-20 17:20:01 +00:00
Daniel Perez
44fe6adc4a
Merge pull request #455 from pcr910303/patch-1
...
Update fish_user_paths only if it is defined
2019-03-20 17:18:26 +00:00
조성빈
61d910b9f9
Update asdf.fish
2019-03-18 15:04:13 +09:00
Daniel Perez
365a294cc3
Update CHANGELOG
2019-03-16 20:00:30 +00:00
Daniel Perez
8a4e28034b
Merge pull request #484 from asdf-vm/fix-version-handling
...
Fix version handling
2019-03-16 19:56:33 +00:00
Daniel Perez
f372833226
Add documentation about multiple versions
2019-03-16 19:45:38 +00:00
Daniel Perez
c06799cfca
Fix legacy version and multi versions handling
2019-03-16 19:45:37 +00:00
Daniel Perez
741a731043
Merge pull request #483 from asdf-vm/update-fish-completions
...
Add update to Fish completions
2019-03-14 21:45:12 +00:00
Daniel Perez
396e804966
Add update to Fish completions
2019-03-14 21:29:32 +00:00
Jonathan Mast
9116e8453d
Add "shell" subcommand for setting versions in shell session
...
Add a "shell" command similar to the existing "global" and "local"
commands, which sets the version in an environment variable instead of
writing it to a file. This was inspired by the similar functionality in
rbenv.
It works by adding a wrapper function for the asdf command. It forwards
to a "sh-shell" command that returns the exports as shell code which is
then evaled by the wrapper. This is a little gross, but we need to run
the code in the shell context in order to set variables.
Resolves #378
2019-03-09 13:19:33 -05:00