From de41085d3dfab0f3fc1a2ee2b96a6bed7c40192d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 12 Jul 2023 17:59:34 -0700 Subject: nvim enable swapfile, use defualt; set XDG_STATE_HOME for it to use see nvim `:h directory` --- home/xyz/.profile | 1 + 1 file changed, 1 insertion(+) (limited to 'home/xyz/.profile') diff --git a/home/xyz/.profile b/home/xyz/.profile index 18b0d9fb..3a31b363 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -3,6 +3,7 @@ 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/" . "$XDG_CONFIG_HOME/user-dirs.dirs" export XDG_DESKTOP_DIR -- cgit v1.2.3-70-g09d2