From ae0405554e6765fd75befa8c1cb535d216d8cb97 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 21 Mar 2022 18:34:30 +0100 Subject: [PATCH] bin: update sign scripts and move ConTeXt --- .local/bin/scripts/sign | 4 ++-- .zshenv | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.local/bin/scripts/sign b/.local/bin/scripts/sign index 715adff..c869a9a 100755 --- a/.local/bin/scripts/sign +++ b/.local/bin/scripts/sign @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/sh -e test ! -r "$1" && echo "Usage: sign [hoffset [voffset [scale [alt-signature]]]]" && exit 1 -signature=$(pass information/signature$(test -n "$5" && echo "-$5")) +signature=$(pass info/signature$(test -n "$5" && echo "-$5")) # TODO make filenames unique and don't rerun unneccessarily tmp_base=/tmp/sign diff --git a/.zshenv b/.zshenv index 7fdaff3..ff656f8 100644 --- a/.zshenv +++ b/.zshenv @@ -11,7 +11,7 @@ export XDG_CACHE_HOME="$HOME/.local/cache" export XDG_CONFIG_HOME="$HOME/.config" export JOURNAL="$(eval "dirname $(grep -1 journals $XDG_CONFIG_HOME/jrnl/jrnl.yaml | tail -1 | cut -d':' -f2-)" || echo "$DATA/2-standards/box/journal")" -export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin" +export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin:$GOPATH/bin" # adjust programs to use xdg export MNT=/run/media/$USER export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority @@ -72,7 +72,7 @@ export DIRS_IGNORE="-x *build -x .git -x .idea -x out -x cache -x Partitions $DI # red stderr test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}" # software config -export TEXMF=/usr/share/context + #export TEXMF=/usr/share/context export KSCRIPT_IDEA_COMMAND=intellij-idea-ultimate-edition ## enable pass extensions export PASSWORD_STORE_ENABLE_EXTENSIONS="true"