summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-13 23:23:04 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-13 23:23:04 +0100
commit1daebdf077045da808b58dec60a5cb2436e0382f (patch)
tree11e9097d78fe4b478fbb02c8284edd977b1e4ddd /.config/shell
parentdb56e593e59f896d9e176535596cd0c2a4167f88 (diff)
Add fourmolu to path and alias
Diffstat (limited to '.config/shell')
-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=:\