summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-03-08 10:28:15 -0600
committerMatt Strapp <matt@mattstrapp.net>2023-03-08 10:28:15 -0600
commit10b1d9d1116c8822ce9695960b2ed32cb6a15e6c (patch)
tree08f2c38e7774a8e632e32a553c08bf02869358c9
parentadd lvim properly back (diff)
downloaddotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar.gz
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar.bz2
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar.lz
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar.xz
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.tar.zst
dotfiles-10b1d9d1116c8822ce9695960b2ed32cb6a15e6c.zip
more small fixes :)
-rw-r--r--sh/.config/shell/aliasrc2
-rw-r--r--zsh/.config/zsh/.zshenv3
-rw-r--r--zsh/.config/zsh/.zshrc4
3 files changed, 5 insertions, 4 deletions
diff --git a/sh/.config/shell/aliasrc b/sh/.config/shell/aliasrc
index fb1bfbf..4d0851d 100644
--- a/sh/.config/shell/aliasrc
+++ b/sh/.config/shell/aliasrc
@@ -33,7 +33,7 @@ alias \
df="df -h" \
du="dust -r" \
free="free -m" \
- gdb='gdb -q -nh -x "$XDG_CONFIG_HOME/gdb/init' \
+ gdb='gdb -q -nh -x "$XDG_CONFIG_HOME/gdb/init"' \
# Colorize commands when possible.
alias \
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index bb15a26..72514f4 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -37,6 +37,7 @@ export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME/aws/credentials"
export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config"
export ALSA_CONFIG_PATH="$XDG_CONFIG_HOME/alsa/asoundrc"
export AZURE_CONFIG_DIR="$XDG_DATA_HOME/azure"
+export MIX_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/mix"
export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg"
export WINEPREFIX="${XDG_DATA_HOME:-$HOME/.local/share}/wineprefixes/default"
export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi"
@@ -45,7 +46,7 @@ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOBIN="${XDG_BIN_HOME:-$HOME/.local/bin}"
-#export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
+export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export GOMODCACHE="$XDG_CACHE_HOME"/go/mod
export VOLTA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/volta"
export PNPM_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/pnpm"
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 651ba1e..c42c6c8 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -37,7 +37,7 @@ setopt complete_aliases
# History in cache directory:
HISTSIZE=100000000
SAVEHIST=100000000
-HISTFILE=~/.cache/zsh/history
+HISTFILE="$XDG_STATE_HOME"/zsh/history
# Load aliases and shortcuts if existent.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
@@ -89,7 +89,7 @@ case "$ID" in
;;
gentoo )
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
- source "$XDG_DATA_HOME"/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
+ source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh
;;
Darwin )
source $HOME/.nix-profile/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh