fish: conf.d/cabal.abbr: Improve cabal build & add exec
The cabal exec command is sometimes helpful to debug why HLS is not working. If that command complains HLS refuses to work.
This commit is contained in:
parent
cb54f0518f
commit
d1c0772207
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
|||
abbr cbench 'cabal bench --enable-benchmarks'
|
||||
abbr cbuild 'cabal build --write-ghc-environment-files=always'
|
||||
abbr cbuildn 'cabal build --write-ghc-environment-files=always --allow-newer'
|
||||
abbr cbuild 'cabal build --jobs=(math --scale=0 (nproc) / 2) --write-ghc-environment-files=always'
|
||||
abbr cbuildn 'cabal build --jobs=(math --scale=0 (nproc) / 2) --write-ghc-environment-files=always --allow-newer'
|
||||
abbr cconf 'cabal configure'
|
||||
abbr cwipe 'cabal clean'
|
||||
abbr cclean 'cabal-clean'
|
||||
abbr cdel 'cabal-clean --delete'
|
||||
abbr crem 'cabal-clean --remove'
|
||||
abbr cexec 'cabal exec -v0 -- ghc --print-libdir'
|
||||
abbr cdoc 'cabal haddock --enable-documentation'
|
||||
abbr cinstall 'cabal install --installdir=$HOME/.local/bin --overwrite-policy=always --install-method=copy'
|
||||
abbr crun 'cabal run'
|
||||
|
|
Loading…
Reference in a new issue