From 1daebdf077045da808b58dec60a5cb2436e0382f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 13 Feb 2023 23:23:04 +0100 Subject: Add fourmolu to path and alias --- .config/shell/aliasrc | 3 +++ .config/shell/variables | 1 + 2 files changed, 4 insertions(+) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 9c00702..a2d2373 100755 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -49,3 +49,6 @@ alias dua="dots remote | xargs -L1 git --git-dir=$HOME/dotfiles/ --work-tree=$HO # Doas smooth transition alias sudo="doas" + +# Haskell formatter +alias fourmolu="$HOME/.local/share/cabal/bin/fourmolu" diff --git a/.config/shell/variables b/.config/shell/variables index edca7d3..8b00463 100644 --- a/.config/shell/variables +++ b/.config/shell/variables @@ -50,6 +50,7 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv # Haskell export GHCUP_USE_XDG_DIRS=true +export PATH="$XDG_DATA_HOME/cabal/bin/fourmolu:$PATH" # This is the list for lf icons: export LF_ICONS="di=:\ -- cgit v1.2.3-70-g09d2