diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-03-30 18:14:10 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-03-30 18:14:40 +0200 |
| commit | f192fcc7111691b973d413a36a242491425dc437 (patch) | |
| tree | d6cb2fc92ad5de5e1df3be108e4381e62139a9df /.config | |
| parent | dfdacbd3a8906a724a5f3ad1c7e14e8c6d304379 (diff) | |
void changes
Diffstat (limited to '.config')
| -rw-r--r-- | .config/shell/aliasrc | 1 | ||||
| -rw-r--r-- | .config/shell/profile | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index db87e1c..480d532 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -9,3 +9,4 @@ alias d="docker " alias d=' echo cd $PWD | kak -p s; eval "[ -n \"$(jobs)\" ] && fg" ' alias b=' eval "$(cd-kak-buf)"' alias e='$EDITOR ' +alias z='zathura ' diff --git a/.config/shell/profile b/.config/shell/profile index 0fa766a..1f4cdc1 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -2,6 +2,15 @@ export XDG_CONFIG_HOME=$HOME/.config export XDG_CACHE_HOME=$HOME/.cache export XDG_DATA_HOME=$HOME/.local/share export XDG_STATE_HOME=$HOME/.local/state +export PASSWORD_STORE_DIR=$HOME/.local/share/password-store + +if ! [ -d "${XDG_RUNTIME_DIR}" ] && [ "$(uname -s)" = "Linux" ] +then d="/run/user/$(id -u)" + sudo mkdir -p "$d" + sudo chown -R "$USER:$USER" "$d" + sudo chmod 700 "$d" + export XDG_RUNTIME_DIR="$d" +fi export EDITOR="c s" export GIT_EDITOR="kak " |
