Skip to content

Commit

Permalink
get bash.d dir from the sript source
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Oct 15, 2024
1 parent b9137f9 commit 2f4bd5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@


SYSTEM_DIR=$HOME/system
SYSTEM_BASH_DIR=$SYSTEM_DIR/bash.d
SYSTEM_BASH_DIR="$(realpath $(dirname ${BASH_SOURCE[0]}))"
# Export for scripts
export SYSTEM_SH_LIB_DIR=$SYSTEM_BASH_DIR/lib
export SYSTEM_SH_LIB_DIR="$SYSTEM_BASH_DIR/lib"

source_if_exists() {
if [ -f "$1" ]; then
Expand Down

0 comments on commit 2f4bd5f

Please sign in to comment.