From 7879f54cdc2e98e4d42a1c343174e904ed39d345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Sun, 19 Mar 2023 15:06:26 +0100 Subject: [PATCH] zsh --- dot_config/zsh/include/env.zsh | 7 ++++++- dot_config/zsh/include/options.zsh | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dot_config/zsh/include/env.zsh b/dot_config/zsh/include/env.zsh index c09c5ab..91cc506 100644 --- a/dot_config/zsh/include/env.zsh +++ b/dot_config/zsh/include/env.zsh @@ -1,6 +1,11 @@ +# don't pollute my home please export GOPATH=${XDG_DATA_HOME:-$HOME/.local/share}/go export CARGO_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/cargo -export PATH=~/bin:$GOPATH/bin:$PATH +export GHCUP_USE_XDG_DIRS=1 +export STACK_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/stack + + +export PATH=~/bin:~/.local/bin:$GOPATH/bin:$PATH export MANPAGER="sh -c 'col -bx | bat -l man -p'" export EDITOR=nvim diff --git a/dot_config/zsh/include/options.zsh b/dot_config/zsh/include/options.zsh index 0fdb548..a8e75f4 100644 --- a/dot_config/zsh/include/options.zsh +++ b/dot_config/zsh/include/options.zsh @@ -18,3 +18,5 @@ setopt hist_verify # show command with history expansion to user befo setopt share_history # share command history data HISTSIZE=50000 SAVEHIST=10000 + +setopt menucomplete