summaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-07-01 21:27:23 -0500
committerMarc Coquand <marc@mccd.space>2024-07-12 12:58:07 -0500
commit9053e1033e69f71389cc24196c6c588f8c35a683 (patch)
treedb85daee634c71df149b5a6b5c37f95753b652fa /profile
parent0a20357d4585da91d92252972f3eb7b715ff64ab (diff)
downloadbsd-9053e1033e69f71389cc24196c6c588f8c35a683.tar.gz
bsd-9053e1033e69f71389cc24196c6c588f8c35a683.tar.bz2
bsd-9053e1033e69f71389cc24196c6c588f8c35a683.zip
vimrc
Diffstat (limited to 'profile')
-rw-r--r--profile32
1 files changed, 25 insertions, 7 deletions
diff --git a/profile b/profile
index 88af8f3..f3c46fb 100644
--- a/profile
+++ b/profile
@@ -1,24 +1,42 @@
-# $OpenBSD: dot.profile,v 1.8 2022/08/10 07:40:37 tb Exp $
-#
-# sh/ksh initialization
+PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
+
+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"
-PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
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
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 PATH=${PATH}:~/.local/bin
-export XDG_DATA_DIRS=${XDG_DATA_DIRS}:~/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share
+
+#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
export ENV=$HOME/.kshrc
export HISTSIZE=65535
export HISTFILE=$HOME/.history
export STITCH_DIRECTORY=/home/mccd/notes
export STITCH_GREP_CMD=ugrep
+
+if [ -e /home/mccd/.nix-profile/etc/profile.d/nix.sh ]; then . /home/mccd/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
+
+if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then
+ exec startx
+fi
+
+# opam configuration
+test -r /home/mccd/.opam/opam-init/init.sh && . /home/mccd/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true