config

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

commit 30250f05d3baeee7a478af87600b43068fbb64ab
parent 8ddcf88208e872ec59188c48cf65f61711848fe0
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Fri, 26 Mar 2021 23:19:36 -0700

Use XDG_DATA_HOME in the tspm script

Instead of requiring an extra variable, PASSWORD_STORE_DIR, simply
use XDG_DATA_HOME. Since it's no longer needed PASSWORD_STORE_DIR
is left undefined.

Diffstat:
Mlocal/bin/.local/bin/tspm | 2+-
Mlocal/profile/.profile | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/local/bin/.local/bin/tspm b/local/bin/.local/bin/tspm @@ -25,7 +25,7 @@ IFS=' ' -cd "${PASSWORD_STORE_DIR:-${HOME}/.spm}" +cd "${XDG_DATA_HOME:-$HOME/.local/share}/tspm" umask u=rwx,go= err() { diff --git a/local/profile/.profile b/local/profile/.profile @@ -31,7 +31,6 @@ export LESSHISTFILE=/dev/null export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" export MANPATH=/usr/share/man:/usr/X11R6/man:/usr/local/man:/usr/local/plan9/man export MPC_FORMAT=%file% -export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass/" export PATH="$HOME/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:/usr/local/plan9/bin" export SHELL_MODULES='aliases cd etc fs hist mpc openbsd private xorg' export WALLPAPER_DIR="$HOME/image/wallpapers/"