Commit Graph

114 Commits

Author SHA1 Message Date
Will Badart
70df740f9d Check $ZDOTDIR in bootstrap script
Zsh looks for .zshrc in $ZDOTDIR, or $HOME if $ZDOTDIR is unset. I doubt
non-$HOME $ZDOTDIRs are widespread (I might be the only one I know with
one), but it's how zsh's startup is defined, so it can happen.

This commit simply adds a check to the `*/zsh` case of `find_shell()` to
respect $ZDOTDIR if it is set.
2022-10-28 17:01:38 +00:00
787edc17af
Improve stack GHC install script 2022-09-30 13:59:43 +08:00
9902adab6d
Make stack GHC install hook posix compliant
See https://github.com/commercialhaskell/stack/issues/5888
2022-09-30 13:29:57 +08:00
e9575aba5c
Add stack ghc installation hooks and install stack by default 2022-09-22 00:04:14 +08:00
a544feffb3
Finalize release 2022-07-30 10:29:34 +08:00
60299b6bb8
Update HLS doc link 2022-07-27 23:29:33 +08:00
ea828cd13a
Fix non-interactive install on windows 2022-07-12 20:26:57 +02:00
256e1942f2
More stuff 2022-07-10 21:19:45 +02:00
aa71f0dfa1
Set wget 2022-07-10 21:05:51 +02:00
04d527c98a
Add DisableCurl powershell switch 2022-07-10 20:58:30 +02:00
7b59621179
Support wget in bootstrap script 2022-07-10 17:56:00 +02:00
9d59463ded
Add GHCUP_CURL_OPTS to bootstrap script 2022-07-10 17:35:45 +02:00
9b8b3e8126
Merge remote-tracking branch 'origin/merge-requests/263' 2022-06-26 23:14:10 +02:00
d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
Jens Petersen
29da21f5dc bootstrap-haskell: s/will download/can download/
A one word tweak to weaken the language in the initial explanation
to make it "less scary": in general ghcup does not always download
all of ghcup, ghc, cabal, stack, and hls
(unless requested or they are not already installed, etc),
but "will download" sounds like the user is has no choice here
except to always download everything,
which might give them second thoughts about trying this script
and hence adopting ghcup.

Perhaps the wording could be made further more precise,
but at least "can" gives one less anxiety.
2022-06-11 13:06:54 +08:00
bcff46d3d4
Fix mingw PATH handling wrt #371 2022-06-07 14:37:23 +02:00
aae3f31c50
Fix bootstrap-haskell picking system cabal 2022-06-06 23:03:07 +02:00
001d33eabb
Use 'cabal update' 2022-05-22 22:47:40 +02:00
e9bd687b8f
Update ghcup version in bootstrap-haskell 2022-05-11 23:39:45 +02:00
a34d9b7b89
Fix type in bootstrap-haskell.ps1 2022-05-09 12:41:54 +02:00
b6779f4d75
Improve welcome message in powershell installer
And warn about antivirus, fixes #343
2022-05-04 14:45:05 +02:00
0856a96738
Bump ghcup in bootstrap-script 2022-04-21 23:02:30 +02:00
ee9801a8c2
Add GHCUP_BASE_URL env var for bootstrap-haskell 2022-04-18 13:22:20 +02:00
a4b69f29dc
Update first steps guide link 2022-04-02 23:36:16 +02:00
2aa5211886
Bump version in bootstrap-haskell 2022-03-18 23:25:49 +01:00
a2373f2056
Improve bootstrap-haskell and fix shellcheck warnings 2022-03-18 18:24:50 +01:00
8f9faaa39e
Fix appending on profile file if there's no trailing newline
Fixes #333
2022-03-18 17:33:08 +01:00
0898244b2a
Preserve symlinks when sedding profile file
Fixes #332
2022-03-18 17:32:37 +01:00
dc635a6601
Finalize release 2022-02-26 18:47:18 +01:00
08ec1bd923
Update release scripts 2022-02-26 18:06:41 +01:00
2c583bcae9
Fix NoAdjustCabalConfig on windows 2022-02-21 16:39:25 +01:00
d05fad49a1
Fix installation with whitespaces in username, fixes #314 2022-02-13 21:11:48 +01:00
dee8d4bc09
Add symlink ftp script 2022-01-31 21:18:24 +01:00
Phil Ruffwind
2ebff1e887 Fix the indentation in env files
This changes the indentation from tabs to spaces, since tabs get
stripped by the heredoc.
2022-01-26 01:15:06 -08:00
Phil Ruffwind
3565c32d51 Avoid adding duplicates to PATH
Without this, each time the env script gets executed it will add a copy
of the paths to PATH. This can happen when shells are nested.

The "case" trick was inspired by:
184a899f45/src/cli/self_update/env.sh
2022-01-08 00:34:16 -08:00
20652fed94
Fix comments in bootstrap-haskell.ps1 2021-12-06 20:00:17 +01:00
834bcfa02c
Use FreeBSD 13 in bootstrap script as well 2021-12-02 17:48:56 +01:00
c97ade81fa
Revert "Fix arch detection on macos"
This reverts commit dbadcf1858.
2021-12-01 20:54:44 +01:00
dbadcf1858
Fix arch detection on macos 2021-12-01 20:27:03 +01:00
ff8865c5c3
Fix bootstrap on FreeBSD 2021-11-30 22:40:18 +01:00
9833dee925
Fix freebsd bootstrap 2021-11-30 21:35:33 +01:00
aac2874f8f
Fix boostrap-haskell on FreeBSD 13 2021-11-30 19:00:33 +01:00
0c415314b6
Bump GHC version in bootstrap-haskell 2021-11-16 20:11:32 +01:00
7a841a480b
Run cabal update with --ignore-project, fixes #285 2021-11-14 17:49:59 +01:00
e74e746213
Trim whitespaces wrt #282 2021-11-13 20:35:50 +01:00
9592021c48
Bump version in bootstrap script 2021-10-27 14:28:32 +02:00
f728d5aa23
Revert bootstrap-haskell 2021-10-27 12:04:53 +02:00
ac59563adf
Release 0.1.17.3 2021-10-27 11:56:18 +02:00
219cba5fc7
Fix arm-ness 2021-10-25 21:01:19 +02:00
752efad4bf
Fix desktop shortcut creation 2021-10-13 19:19:52 +02:00
288af4abc6
Add first-steps link to bootstrap-haskell 2021-10-13 15:09:09 +02:00
74f14c68a4
Fix path to cabal bin dir in adjust_cabal_config 2021-10-12 20:09:40 +02:00
1f100623a7
Link to Haskell documentation after installation 2021-10-12 11:34:48 +02:00
ab44e9d2ac
Add shellcheck check 2021-10-09 19:46:29 +02:00
c4991425ab
Add modgraph script 2021-10-05 21:38:07 +02:00
23d77ce1b4
Update metadata 2021-09-30 15:43:22 +02:00
8a286156f6
Improve information regarding what the scripts do 2021-09-29 11:37:16 +02:00
30d9eb5634
Bump to 0.1.17.1 2021-09-26 15:02:08 +02:00
d662682fb5
Honour NO_COLOR in bootstrap scrips, fixes #248 2021-09-24 20:37:55 +02:00
3cd55beab1
Metadata bump 2021-09-21 12:24:24 +02:00
Emily Pillmore
e8d962ac44 Add language fixes per issue #237 2021-09-17 14:11:00 -06:00
68bbf31a86
Fix download for armv7 container on arm64 host 2021-09-10 14:59:26 +02:00
48c54bf374
Don't unconditionally adjust .bashrc on windows 2021-09-10 13:34:22 +02:00
8c72bf697e
Move files into nicer subdirectories 2021-09-04 15:08:58 +02:00