From b83ab36a21f7ead43bd55e87aaf09b1ec979b531 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 4 May 2019 12:43:16 -0400 Subject: [PATCH] Use $HOME instead of ~ --- bash/.bash_profile | 8 ++++---- bash/.profile | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 499bf9e..0c714a9 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -1,9 +1,9 @@ # -# ~/.bash_profile +# $HOME/.bash_profile # -[[ -f ~/.bashrc ]] && . ~/.bashrc +[[ -f "$HOME/.bashrc" ]] && source $HOME/.bashrc -[[ -f ~/.bash_local ]] && . ~/.bash_local +[[ -f "$HOME/.bash_local" ]] && source "$HOME/.bash_local" -[[ -f ~/.profile ]] && . ~/.profile +[[ -f "$HOME/.profile" ]] && source "$HOME/.profile" diff --git a/bash/.profile b/bash/.profile index 06e6e77..3938de8 100644 --- a/bash/.profile +++ b/bash/.profile @@ -5,8 +5,8 @@ then export LOLA_TRAVEL_SERVICE_HOME=~/lola/lola-travel-service fi -export LEDGER_FILE="~/journal.ledger" -PATH="~/.local/bin":"~/bin/":"~/.gem/ruby/2.6.0/bin":"~/.gem/ruby/2.5.0/bin":"~/go/bin":"$PATH" +export LEDGER_FILE="$HOME/journal.ledger" +PATH="$HOME/.local/bin":"$HOME/bin/":"$HOME/.gem/ruby/2.6.0/bin":"$HOME/.gem/ruby/2.5.0/bin":"$HOME/go/bin":"$PATH" EDITOR="$(which emacsclient)" export EDITOR