Skip to content

Commit

Permalink
chore: use 'include' instead of soft links
Browse files Browse the repository at this point in the history
This eliminates the cruft for the future installs
  • Loading branch information
ashishb committed Jul 20, 2024
1 parent d169d0b commit 5ac9869
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup_dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ echo "source $DIR/_screenrc" > $HOME/.screenrc
echo "Overwriting $HOME/.ssh/config"
touch $DIR/_sshconfig
mkdir -p $HOME/.ssh
ln -s $DIR/_sshconfig ~/.ssh/config || true
echo "Include $DIR/_sshconfig" >> ~/.ssh/config

echo "Overwriting $HOME/.inpurtc"
ln -s $DIR/_inputrc ~/.inputrc || true
# https://unix.stackexchange.com/a/179294
echo "$include $DIR/_inputrc" >> ~/.inputrc

# Disable last two lines which replace https with ssh since it cause Travis CI failures :(
# This is hacky.
Expand Down

0 comments on commit 5ac9869

Please sign in to comment.