dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 470758173ea8a3e3106364f5d6317a6c537a576f
parent 5e2a12947ed778bd4c20b81cded943d66e5f7ec5
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed, 24 Jun 2020 01:19:11 -0400

Clean up .profile and improve documentation

Diffstat:
M.profile | 26+++++++-------------------
1 file changed, 7 insertions(+), 19 deletions(-)

diff --git a/.profile b/.profile @@ -16,38 +16,24 @@ if [ -n "$BASH_VERSION" ]; then fi fi -# Set PATH to include my local scripts -if [ -d "$HOME/docs/scripts/bash" ]; then - PATH="$PATH:$HOME/docs/scripts/bash" -fi -if [ -d "$HOME/docs/scripts/sh" ]; then - PATH="$PATH:$HOME/docs/scripts/sh" -fi -if [ -d "$HOME/docs/scripts/perl" ]; then - PATH="$PATH:$HOME/docs/scripts/perl" -fi -if [ -d "$HOME/docs/scripts/python" ]; then - PATH="$PATH:$HOME/docs/scripts/python" -fi - -# Set PATH to include my local binaries +# Set PATH to include my local binaries/scripts if [ -d "$HOME/.local/bin/" ]; then PATH="$PATH:$HOME/.local/bin" fi # Set golang environment variables -PATH="$PATH:/usr/lib/go-1.14/bin/" +PATH="$PATH:/usr/lib/go/bin/" export GOPATH="$HOME/docs/proj/go" # For proper theming in qt5 applications export QT_QPA_PLATFORMTHEME="gtk2" -# For setting the XDG specification directories +# Set the XDG specification directories export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -# Tell various programs to respect the XDG Base Directory +# Tell various programs to respect the XDG Base Directory specification # Removes ~/.Xauthority export XAUTHORITY="$XDG_CONFIG_HOME/X11/Xauthority" # Removes ~/.xinitrc @@ -60,7 +46,7 @@ export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" export LESSHISTFILE="$XDG_CACHE_HOME/lesshst" # Removes ~/.bash_history export HISTFILE="$XDG_CACHE_HOME/bash_history" -# Removes ~/.lynxrc and localizes configuration to user +# Removes ~/.lynxrc export LYNX_CFG="$HOME/.config/lynx/lynx.cfg" export LYNX_LSS="$HOME/.config/lynx/lynx.lss" # Removes ~/.gnupg @@ -68,7 +54,9 @@ export GNUPGHOME="/media/jbauer/keys/gpg" # Removes ~/.inputrc export INPUTRC="$XDG_CONFIG_HOME/inputrc" +# Standard (?) environment variables export EDITOR="nvim" +export VISUAL="$EDITOR" export BROWSER="firefox" export READER="zathura" export PAGER="less"