From babd636d09f47abd000165149113cde09d213aaf Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 10 Dec 2022 15:42:55 +0100 Subject: Updates --- .config/shell/variables | 5 +++++ .config/zsh/prompt | 2 +- .local/share/snippets | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2