diff options
-rw-r--r-- | .chezmoiremove | 4 | ||||
-rw-r--r-- | dot_config/zsh/dot_zshrc (renamed from dot_zshrc) | 0 | ||||
-rw-r--r-- | dot_config/zsh/empty_dot_zlogin (renamed from empty_dot_zlogin) | 0 | ||||
-rw-r--r-- | dot_config/zsh/empty_dot_zlogout (renamed from empty_dot_zlogout) | 0 | ||||
-rw-r--r-- | dot_config/zsh/empty_dot_zprofile (renamed from empty_dot_zprofile) | 0 | ||||
-rw-r--r-- | dot_config/zsh/symlink_dot_zshenv | 1 | ||||
-rw-r--r-- | dot_zshenv | 3 |
7 files changed, 8 insertions, 0 deletions
diff --git a/.chezmoiremove b/.chezmoiremove index 6fb1590..e03d1d9 100644 --- a/.chezmoiremove +++ b/.chezmoiremove @@ -1 +1,5 @@ /.nanorc +/.zlogin +/.zlogout +/.zprofile +/.zshrc diff --git a/dot_zshrc b/dot_config/zsh/dot_zshrc index 13b626a..13b626a 100644 --- a/dot_zshrc +++ b/dot_config/zsh/dot_zshrc diff --git a/empty_dot_zlogin b/dot_config/zsh/empty_dot_zlogin index e69de29..e69de29 100644 --- a/empty_dot_zlogin +++ b/dot_config/zsh/empty_dot_zlogin diff --git a/empty_dot_zlogout b/dot_config/zsh/empty_dot_zlogout index e69de29..e69de29 100644 --- a/empty_dot_zlogout +++ b/dot_config/zsh/empty_dot_zlogout diff --git a/empty_dot_zprofile b/dot_config/zsh/empty_dot_zprofile index e69de29..e69de29 100644 --- a/empty_dot_zprofile +++ b/dot_config/zsh/empty_dot_zprofile diff --git a/dot_config/zsh/symlink_dot_zshenv b/dot_config/zsh/symlink_dot_zshenv new file mode 100644 index 0000000..05e498d --- /dev/null +++ b/dot_config/zsh/symlink_dot_zshenv @@ -0,0 +1 @@ +../../.zshenv diff --git a/dot_zshenv b/dot_zshenv index 4cae70b..2983e2a 100644 --- a/dot_zshenv +++ b/dot_zshenv @@ -41,6 +41,9 @@ export LC_ALL=en_US.UTF-8 export LESS="--RAW-CONTROL-CHARS --chop-long-lines --mouse" export PAGER="less" +# Move zsh dot files to config dir +export ZDOTDIR="${XDG_CONFIG_HOME:-${HOME}/.config}/zsh" + # Add ~/.local paths to {,MAN,INFO}PATH and fpath export PATH="${HOME}/.local/bin${PATH:+:${PATH}}" export MANPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/man${MANPATH:+:${MANPATH}}" |