Skip to content

Commit

Permalink
style: format files with make format
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanpinn committed Apr 25, 2024
1 parent ef261fe commit b8176c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# .dotfiles

My dotfiles, managed with `make`.

4 changes: 2 additions & 2 deletions bash/bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# Load ~/.profile regardless of shell.
if [ -e "$HOME"/.profile ]; then
. "$HOME"/.profile
. "$HOME"/.profile
fi

# If ~/.bashrc exists, source that too.
if [ -f "$HOME"/.bashrc ]; then
. "$HOME"/.bashrc
. "$HOME"/.bashrc
fi
6 changes: 3 additions & 3 deletions sh/profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export XDG_RUNTIME_DIR=/tmp

# Add ~/.local/bin to PATH if it exists
if [ -d "$HOME"/.local/bin ]; then
PATH=$HOME/.local/bin:$PATH
PATH=$HOME/.local/bin:$PATH
fi

# Load all supplementaty scripts in ~/.profile.d
for sh in "$HOME"/.profile.d/*.sh; do
[ -e "$sh" ] || continue
. "$sh"
[ -e "$sh" ] || continue
. "$sh"
done
unset -v sh

0 comments on commit b8176c8

Please sign in to comment.