summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/shell/aliasrc3
-rw-r--r--.config/shell/variables1
2 files changed, 4 insertions, 0 deletions
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=:\