From 8f31d5717bbacefd56425979baff0810d46f834d Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Sun, 3 Apr 2022 15:55:25 -0600 Subject: fixing & adding more stuff --- .zshenv | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to '.zshenv') diff --git a/.zshenv b/.zshenv index 0594c436..c0ffcb31 100644 --- a/.zshenv +++ b/.zshenv @@ -1,6 +1,16 @@ -export MOZ_ENABLE_WAYLAND=1 +#!/bin/zsh + +if test -z "${XDG_RUNTIME_DIR}"; then + export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir + if ! test -d "${XDG_RUNTIME_DIR}"; then + mkdir "${XDG_RUNTIME_DIR}" + chmod 0700 "${XDG_RUNTIME_DIR}" + fi +fi + typeset -U PATH path path=("$HOME/.local/bin" "$path[@]") export PATH export BEMENU_BACKEND=wayland - +export EDITOR=nvim +export MOZ_ENABLE_WAYLAND=1 -- cgit v1.2.3