From 8bbc8c21c9f79fad95f225f2cec47f4bf59660f2 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 2 Aug 2024 15:13:36 -0500 Subject: shrc update --- profile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'profile') diff --git a/profile b/profile index dfb7e23..0f3b6fc 100644 --- a/profile +++ b/profile @@ -1,28 +1,21 @@ -PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin +# Let sh(1) know it's at home, despite /home being a symlink. +if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi -PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin -PATH=${PATH}:/home/mccd/go/bin:/home/mccd/.local/bin -XCURSOR_PATH="/usr/pkg/share/icons" +# Query terminal size; useful for serial lines. +if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi -export PATH HOME TERM -export LANG="en_US.UTF-8" -export XTERM_LOCALE=en_US.UTF-8 -export LC_ALL=en_US.UTF-8 -export XDG_CONFIG_HOME=/home/mccd/.config +PATH=${PATH}:/home/mccd/go/bin:/home/mccd/.local/bin:/home/mccd/.cargo/bin export EDITOR="vim" export GDK_DPI_SCALE="1.5" export GDK_SCALE="1.5" export XCURSOR_SIZE="32" -export XCURSOR_PATH="/usr/pkg/share/icons" # So when you hover the desktop, it still uses Adwaita export XCURSOR_THEME="Adwaita" export PF_INFO="ascii title os editor shell wm" export PF_ALIGN="5" export PF_COLOR="0" export MOZ_ACCELERATED=1 -export GSETTINGS_SCHEMA_DIR=/usr/pkg/share/glib-2.0/schemas - #test -r /home/mccd/.opam/opam-init/init.sh && . /home/mccd/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true export XDG_DATA_DIRS=${XDG_DATA_DIRS}:~/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/pkg/share:/usr/local/share -- cgit v1.2.3