dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit c0c6f2562404a2a5f5c2503f5410cbc8efb6f382
parent bc68376a60c1e3029c75617fc74f2728564fe4e8
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 10 Sep 2022 21:21:02 -0400

Bourne profile: Multiple changes

- set -a
- Add PYTHONSTARTUP, GOPRIVATE, SQLITE_HISTORY
- Fixup carbon local config due to OpenBSD to Alpine switch

Diffstat:
M.profile | 59+++++++++++++++++++++++++++++------------------------------
1 file changed, 29 insertions(+), 30 deletions(-)

diff --git a/.profile b/.profile @@ -1,43 +1,42 @@ -PATH="$PATH:$HOME/bin"; export PATH -HOSTNAME=$(hostname | cut -d. -f1); export HOSTNAME -ENV="$HOME/etc/shrc"; export ENV -LANG=en_US.UTF-8; export LANG -EDITOR=ed; export EDITOR -FCEDIT=ed; export FCEDIT -XDG_CONFIG_HOME="$HOME/etc"; export XDG_CONFIG_HOME -XDG_CACHE_HOME="$HOME/var/cache"; export XDG_CACHE_HOME -XDG_DATA_HOME="$HOME/var"; export XDG_DATA_HOME -PYTHONUSERBASE="$HOME"; export PYTHONUSERBASE -GOPATH="$HOME"; export GOPATH -TMPDIR="$HOME/tmp"; export TMPDIR +set -a +PATH="$PATH:$HOME/bin" +HOSTNAME=$(hostname | cut -d. -f1) +ENV="$HOME/etc/shrc" +LANG=en_US.UTF-8 +EDITOR=ed +FCEDIT=ed +XDG_CONFIG_HOME="$HOME/etc" +XDG_CACHE_HOME="$HOME/var/cache" +XDG_DATA_HOME="$HOME/var" +PYTHONUSERBASE="$HOME" +GOPATH="$HOME" +TMPDIR="$HOME/tmp" +PYTHONSTARTUP="$HOME/etc/pythonrc" +GOPRIVATE=djmo.ch +SQLITE_HISTORY=/dev/null case $HOSTNAME in carbon) - font=/lib/font/bit/lucsans/boldunicode.7.font; export font - PLAN9=/usr/local/plan9; export PLAN9 - PATH="$PATH:$PLAN9/bin"; export PATH - BROWSER=firefox-esr; export BROWSER - EDITOR=E; export EDITOR - PAGER=nobs; export PAGER - FCEDIT=$EDITOR; export FCEDIT + unset FCEDIT + font=/mnt/font/DejaVuSans/10a/font + NAMESPACE="$TMPDIR/9ns" + BROWSER=surf + EDITOR=E + PAGER=nobs unset SSH_AGENT_PID - SSH_AUTH_SOCK=`gpgconf --list-dirs agent-ssh-socket`; export SSH_AUTH_SOCK - PKG_PATH=https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64; export PKG_PATH GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1 - MOZ_ACCELERATED=1; export MOZ_ACCELERATED - PASSWORD_STORE_DIR=$XDG_CACHE_HOME/password-store; export PASSWORD_STORE_DIR - XAUTHORITY="$XDG_CACHE_HOME/Xauthority"; export XAUTHORITY - my sound - mpd - wsconsctl mouse.reverse_scrolling=1 >/dev/null - if [ "$(tty)" = "/dev/ttyC0" ] + PASSWORD_STORE_DIR=$XDG_CACHE_HOME/password-store + XAUTHORITY="$XDG_CACHE_HOME/Xauthority" + MANPATH=:$HOME/man + if [ "$(tty)" = "/dev/tty1" ] then + 9start exec startx fi ;; mail) - MAIL=$HOME/Maildir; export MAIL - PAGER=cat; export PAGER + MAIL=$HOME/Maildir + PAGER=cat ;; esac