summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-10 15:42:55 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-10 15:42:55 +0100
commitbabd636d09f47abd000165149113cde09d213aaf (patch)
tree2bacf3cb4c01a9d350a47765a7eb67bd11d5f9c4
parent957659b0995de116fe66c9ff2df16992c50ae8a5 (diff)
Updates
-rw-r--r--.config/shell/variables5
-rw-r--r--.config/zsh/prompt2
-rw-r--r--.local/share/snippets5
3 files changed, 11 insertions, 1 deletions
diff --git a/.config/shell/variables b/.config/shell/variables
index d518849..edca7d3 100644
--- a/.config/shell/variables
+++ b/.config/shell/variables
@@ -22,6 +22,11 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
+# Haskell cabal
+export CABAL_CONFIG="$XDG_CONFIG_HOME/cabal/config"
+export CABAL_DIR="$XDG_DATA_HOME/cabal"
+export CABAL_BUILDDIR="$XDG_CACHE_HOME/cabal"
+
# Switch layout
export ALT_KB_LAYOUT="se"
diff --git a/.config/zsh/prompt b/.config/zsh/prompt
index 1123d54..b7b3ee1 100644
--- a/.config/zsh/prompt
+++ b/.config/zsh/prompt
@@ -29,7 +29,7 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-untracked
zstyle ':vcs_info:*' check-for-changes true
# zstyle ':vcs_info:git:*' formats " %r/%S %b %m%u%c "
-zstyle ':vcs_info:git:*' formats " %F{8%}%m%u%c%F{8%}󰘬 %F{8%}%b%f"
+zstyle ':vcs_info:git:*' formats " %F{8%}%m%u%c%F{8%} %F{8%}%b%f"
function set-prompt() {
emulate -L zsh
diff --git a/.local/share/snippets b/.local/share/snippets
index 673b8f4..0affc82 100644
--- a/.local/share/snippets
+++ b/.local/share/snippets
@@ -18,3 +18,8 @@ https://blog.jse.li/posts/torrent/ tags:diy,torrents
https://learnyousomeerlang.com/content tags:erlang
https://fsharpforfunandprofit.com/ddd/ tags:functional programming,domain-driven design
https://topology.mitpress.mit.edu/ tags:category theory
+https://en.wikipedia.org/wiki/Homomorphic_encryption tags:security
+https://blog.kellybrazil.com/2019/12/05/microservice-security-design-patterns-for-kubernetes-part-1/ tags:security,k8s
+https://en.wikipedia.org/wiki/The_Voyage_of_Life tags:art
+https://tmewett.com/c-tips/ tags:c
+https://williamyaoh.com/posts/2019-04-25-lens-exercises.html tags:haskell