config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 744f6b9f080009171de40977594f2dc9d7ac8775
parent 14cc05387a4ebf27b95aa612e116853d7418ec9f
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 23 Nov 2020 14:47:24 -0800

Use relative paths in sysconf config

I want the location of this repository to be irrelevent and using
CONFIG_DIR seems to be against this.

Diffstat:
Mmodules/profile/.profile | 1-
Mmodules/sysconf/.config/sysconf | 14+++++++-------
2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/modules/profile/.profile b/modules/profile/.profile @@ -16,7 +16,6 @@ export HISTBASE="$HOME/.local/var" export INPUTRC="$XDG_CONFIG_HOME/readline" export PASSWORD_STORE_DIR="$HOME/.local/var/pass" -export CONFIG_DIR="$HOME/own/config/modules" export DICT_DIR="$HOME/.local/share/wdef" export FEED_DIR="$HOME/.local/var/rss" export PWDLOG="$HOME/.local/var/pwd.log" diff --git a/modules/sysconf/.config/sysconf b/modules/sysconf/.config/sysconf @@ -1,9 +1,9 @@ -# System configuration paths -$CONFIG_DIR/git/.config/git/config /etc/gitconfig -$CONFIG_DIR/ksh/.config/ksh.kshrc /etc/ksh.kshrc -$CONFIG_DIR/profile/.profile /etc/profile -$CONFIG_DIR/shell/.config/shell /usr/local/share/shell/ -$CONFIG_DIR/tmux/.tmux.conf /etc/tmux.conf +# sysconf config file +modules/git/.config/git/config /etc/gitconfig +modules/ksh/.config/ksh.kshrc /etc/ksh.kshrc +modules/profile/.profile /etc/profile +modules/shell/.config/shell /usr/local/share/shell/ +modules/tmux/.tmux.conf /etc/tmux.conf # Vim refuses to source the global vimrc on OpenBSD -#$CONFIG/vim/.vimrc /usr/local/share/vim/vimrc +#modules/vim/.vimrc /usr/local/share/vim/vimrc