mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
No commits in common. "c719fad76a7ee3f84339b93ee9b3dc629e4166b9" and "d3910bda18e3b30873bd2c370fa3a300d5dae5b0" have entirely different histories.
c719fad76a
...
d3910bda18
@ -9,6 +9,28 @@ XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
|||||||
EDITOR="vim"
|
EDITOR="vim"
|
||||||
VISUAL="vim"
|
VISUAL="vim"
|
||||||
|
|
||||||
|
# Override paths for non-compliant programs
|
||||||
|
# https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
|
||||||
|
|
||||||
|
ADOTDIR="$XDG_DATA_HOME/zsh/antigen"
|
||||||
|
CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
|
GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
||||||
|
GOPATH="$XDG_DATA_HOME/go"
|
||||||
|
ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
|
||||||
|
NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
||||||
|
#PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
||||||
|
PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup"
|
||||||
|
RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||||
|
TERMINFO="$XDG_DATA_HOME/terminfo"
|
||||||
|
TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo"
|
||||||
|
TS3_CONFIG_DIR="$XDG_CONFIG_HOME/teamspeak3"
|
||||||
|
VIMDIR="$XDG_CONFIG_HOME/vim"
|
||||||
|
VIMRC="$VIMDIR/vimrc"
|
||||||
|
VIMINIT=":so $VIMRC"
|
||||||
|
WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
|
||||||
|
XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
||||||
|
ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
|
|
||||||
PATH="${PATH}:/sbin:/usr/sbin:${XDG_CONFIG_HOME}/scripts:${GOPATH}/bin"
|
PATH="${PATH}:/sbin:/usr/sbin:${XDG_CONFIG_HOME}/scripts:${GOPATH}/bin"
|
||||||
|
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
# Override paths for non-compliant programs
|
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
|
|
||||||
|
|
||||||
ADOTDIR="$XDG_DATA_HOME/zsh/antigen"
|
|
||||||
ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
|
|
||||||
CARGO_HOME="$XDG_DATA_HOME/cargo"
|
|
||||||
GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
|
||||||
GOPATH="$XDG_DATA_HOME/go"
|
|
||||||
ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
|
|
||||||
NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
|
||||||
#PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
|
||||||
PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup"
|
|
||||||
RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
|
||||||
TERMINFO="$XDG_DATA_HOME/terminfo"
|
|
||||||
TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo"
|
|
||||||
TS3_CONFIG_DIR="$XDG_CONFIG_HOME/teamspeak3"
|
|
||||||
VIMDIR="$XDG_CONFIG_HOME/vim"
|
|
||||||
VIMRC="$VIMDIR/vimrc"
|
|
||||||
VIMINIT=":so $VIMRC"
|
|
||||||
WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
|
|
||||||
XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
|
||||||
ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
|
||||||
|
|
||||||
# vim: ft=sh
|
|
12
zsh/.zshenv
12
zsh/.zshenv
@ -1,11 +1,5 @@
|
|||||||
# Assume environment is already loaded if ZDOTDIR is set.
|
set -o allexport
|
||||||
# This speeds up starting zsh if it's not required. Attempt
|
. ~/.config/environment.d/*.conf
|
||||||
# to load the environment if it's absent, though, in case
|
set +o allexport
|
||||||
# ZDOTDIR is overriden and .zshrc is not in ~
|
|
||||||
if [ -z "$ZDOTDIR" ]; then
|
|
||||||
set -o allexport
|
|
||||||
. ~/.config/environment.d/*.conf
|
|
||||||
set +o allexport
|
|
||||||
fi
|
|
||||||
|
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
Loading…
Reference in New Issue
Block a user