From f37e10c68c72b720c0f8cdcf439316efb0d866ed Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 17 May 2023 19:34:15 +0530 Subject: [PATCH] fish: conf.d: Add some abbreviations for cabal Taken from https://vrom911.github.io/blog/haskell-aliases. --- fish/.config/fish/conf.d/cabal-abbr.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fish/.config/fish/conf.d/cabal-abbr.fish diff --git a/fish/.config/fish/conf.d/cabal-abbr.fish b/fish/.config/fish/conf.d/cabal-abbr.fish new file mode 100644 index 0000000..adefe87 --- /dev/null +++ b/fish/.config/fish/conf.d/cabal-abbr.fish @@ -0,0 +1,9 @@ +abbr cbench 'cabal bench --enable-benchmarks' +abbr cbuild 'cabal build --write-ghc-environment-files=always' +abbr cclean 'cabal clean' +abbr cdoc 'cabal haddock --enable-documentation' +abbr cinstall 'cabal install --installdir=~/.local/bin --overwrite-policy=always --install-method=copy' +abbr crun 'cabal run' +abbr crepl 'cabal repl --build-depends pretty-simple' +abbr ctest 'cabal test --enable-tests --test-show-details=direct' +abbr cupdate 'cabal update'