~yerinalexey/dotfiles

4d964861c7016e39247d4f5dd424e1997e2cce0e — Alexey Yerin 9 months ago 410f0a2
zsh(profile): fix CARGO_HOME
1 files changed, 6 insertions(+), 6 deletions(-)

M zsh/profile.zsh
M zsh/profile.zsh => zsh/profile.zsh +6 -6
@@ 28,12 28,6 @@ export BEMENU_OPTS="--fn 'monospace 13' -n \
  --hb=#313131 \
  --hf=#638cda"

# Binaries and stuff
export PATH="$XDG_CONFIG_HOME/scripts:$PATH"
export PATH="$PATH:$XDG_CONFIG_HOME/scripts/sway"
export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$CARGO_HOME/bin"

# Clean up the home directory
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export CARGO_HOME="$XDG_DATA_HOME/cargo"


@@ 48,6 42,12 @@ export PSQL_HISTORY="$XDG_CACHE_HOME/psql-history"

export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"

# Binaries and stuff
export PATH="$XDG_CONFIG_HOME/scripts:$PATH"
export PATH="$PATH:$XDG_CONFIG_HOME/scripts/sway"
export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$CARGO_HOME/bin"

# Fix psql
# (At least in Artix) unix_socket_directory is set to /run/postgresql
# and not /tmp which psql doesn't know about