.sh

Multi-shell dotfiles manager
Log | Files | Refs | README | LICENSE

commit 064c5e5caf898b548cb52546fbf3359a78489376
parent 8b89e4e2cafadc42d15abd13a6bcccbc640097e0
Author: Byron Torres <b@torresjrjr.com>
Date:   Fri, 26 Feb 2021 11:06:00 +0000

Format .profile & .bashrc

Diffstat:
Mbash/.bashrc | 2+-
Msh/.profile | 16++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/bash/.bashrc b/bash/.bashrc @@ -23,7 +23,7 @@ HISTFILE="$XDG_CACHE_HOME/bash/histfile" ## Aliases -alias rs='clear; source $DOTSHELL/bash/.bashrc' +alias rs='clear; source $DOTSHELL/bash/.bashrc' # overwrites ## Local diff --git a/sh/.profile b/sh/.profile @@ -8,20 +8,19 @@ # shell export DOTSHELL="$HOME/.sh" -# rcfile for interactive-only POSIX sh. See sh(1). -export ENV="$DOTSHELL/sh/.shrc" -export PATH="$PATH:$HOME/bin" -export PATH="$PATH:$DOTSHELL/bin" +export ENV="$DOTSHELL/sh/.shrc" # see sh(1) export INPUTRC="$DOTSHELL/misc/.inputrc" -# system defaults +# system +export PATH="$PATH:$HOME/bin" +export PATH="$PATH:$DOTSHELL/bin" export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" - +export GOPATH="$HOME/code/go" export EDITOR="vim" -# programs config +# programs export LESSHISTFILE="$XDG_CACHE_HOME/less/lesshst" @@ -34,4 +33,5 @@ test -f "$DOTSHELL/local/.profile" && ## Runtime # interactive login bash doesn't source .bashrc -test -n "${BASH_VERSION}" && . "$DOTSHELL/bash/.bashrc" +test -n "${BASH_VERSION}" && + . "$DOTSHELL/bash/.bashrc"