diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-08-14 16:24:40 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-08-14 16:24:40 +1200 |
commit | 2108d018f378f2728ab43ba2dceba3c889869bdf (patch) | |
tree | c674e3a7b90ec0f35667f64c91906f1baab35001 | |
parent | Start versioning XFCE4 terminal config (diff) | |
download | dotfiles-2108d018f378f2728ab43ba2dceba3c889869bdf.tar.gz dotfiles-2108d018f378f2728ab43ba2dceba3c889869bdf.zip |
Switch back to separate assignment/export
-rw-r--r-- | sh/profile | 24 | ||||
-rw-r--r-- | systemd/profile.d/systemd.sh | 3 | ||||
-rw-r--r-- | tmux/profile.d/tmux.sh | 3 |
3 files changed, 19 insertions, 11 deletions
@@ -1,23 +1,29 @@ # Use lynx as our terminal browser -export BROWSER=lynx +BROWSER=lynx +export BROWSER # Use ed as our line editor and vi as our visual editor -export EDITOR=ed -export VISUAL=vi +EDITOR=ed +VISUAL=vi +export EDITOR VISUAL # Set the POSIX interactive startup file to ~/.shinit -export ENV=$HOME/.shinit +ENV=$HOME/.shinit +export ENV # Use NZ English, but bytewise sorting -export LANG=en_NZ.UTF-8 -export LANGUAGE=en_NZ:en -export LC_COLLATE=C +LANG=en_NZ.UTF-8 +LANGUAGE=en_NZ:en +LC_COLLATE=C +export LANG LANGUAGE LC_COLLATE # Use less as my pager -export PAGER=less +PAGER=less +export PAGER # Assume I'm at home unless something overrides it -export TZ=Pacific/Auckland +TZ=Pacific/Auckland +export TZ # Source all scripts in ~/.profile.d; many of them will be modifying $PATH, so # we'll get that sorted out first diff --git a/systemd/profile.d/systemd.sh b/systemd/profile.d/systemd.sh index 1f305f65..b5f05c24 100644 --- a/systemd/profile.d/systemd.sh +++ b/systemd/profile.d/systemd.sh @@ -1,2 +1,3 @@ # Use $VISUAL for editing systemd unit files, not $EDITOR -export SYSTEMD_EDITOR=$VISUAL +SYSTEMD_EDITOR=$VISUAL +export SYSTEMD_EDITOR diff --git a/tmux/profile.d/tmux.sh b/tmux/profile.d/tmux.sh index 2a936da5..15ba00ff 100644 --- a/tmux/profile.d/tmux.sh +++ b/tmux/profile.d/tmux.sh @@ -1,3 +1,4 @@ # Encourage tmux to put its sockets into XDG_RUNTIME_DIR rather than /tmp [ -n "$XDG_RUNTIME_DIR" ] || return -export TMUX_TMPDIR=$XDG_RUNTIME_DIR +TMUX_TMPDIR=$XDG_RUNTIME_DIR +export TMUX_TMPDIR |