diff options
Diffstat (limited to 'dot/local')
-rwxr-xr-x | dot/local/bin/ghc | 7 | ||||
l--------- | dot/local/bin/ghci | 1 | ||||
l--------- | dot/local/bin/runghc | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/dot/local/bin/ghc b/dot/local/bin/ghc new file mode 100755 index 0000000..36c3656 --- /dev/null +++ b/dot/local/bin/ghc | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | prog=${0##*/} | ||
3 | case "$prog" in | ||
4 | ghc|runghc|ghci) exec stack --no-system-ghc $prog;; | ||
5 | esac | ||
6 | echo "Not a stack command: $prog" >&2 | ||
7 | exit -1 | ||
diff --git a/dot/local/bin/ghci b/dot/local/bin/ghci new file mode 120000 index 0000000..a064d26 --- /dev/null +++ b/dot/local/bin/ghci | |||
@@ -0,0 +1 @@ | |||
ghc \ No newline at end of file | |||
diff --git a/dot/local/bin/runghc b/dot/local/bin/runghc new file mode 120000 index 0000000..a064d26 --- /dev/null +++ b/dot/local/bin/runghc | |||
@@ -0,0 +1 @@ | |||
ghc \ No newline at end of file | |||