added symlink command so updates persist

This commit is contained in:
2024-12-22 00:08:38 -05:00
parent 83fcd7311a
commit bc4d81c3a3
+19 -12
View File
@@ -1,17 +1,21 @@
# ==============================================================================
# Auth: Alex Celani
# Auth: dodd
# File: mac_setup.sh
# Revn: 09-09-2023 0.1
# Revn: 12-20-2024 0.4
# Func: re-setup terminal tools in mac
#
# TODO: create
# TODO: improve
# comment?
# ==============================================================================
# CHANGE LOG
# ------------------------------------------------------------------------------
# 09-09-2023: init
# 04-11-2024: added mkdir for bin and src
# moved some clones up a little bit
# put binaries in local bin folder
# put binaries in local bin directory
# 12-18-2024: made dotfiles symlink instead of copied diverging files
# 12-20-2024: corrected relative pathing issue with symlinks
# fixed bugs in cp mes.as and dos.sh lines
#
# ==============================================================================
@@ -28,6 +32,7 @@ fi
brew install gcc
brew install go
brew install htop
#brew install btop
brew install neofetch
brew install onefetch
brew install rust
@@ -41,12 +46,17 @@ mkdir ~/Documents/work
cd ~/Documents/work
git clone https://github.com/alexander-the-alright/dotfiles
cp dotfiles/mac/.zshrc ~/
cp dotfiles/mac/.vimrc ~/
cp -r dotfiles/mac/.vim ~/
cp dotfiles/mac/mes.as
cp dotfiles/mac/dos.sh
ln -s ~/Documents/work/dotfiles/mac/.zshrc ~/.zshrc
ln -s ~/Documents/work/dotfiles/mac/.vimrc ~/.vimrc
ln -s ~/Documents/work/dotfiles/mac/.vim ~/.vim
#cp dotfiles/mac/.zshrc ~/
#cp dotfiles/mac/.vimrc ~/
#cp -r dotfiles/mac/.vim ~/
cp dotfiles/mac/mes.as ~/
cp dotfiles/mac/dos.sh ~/
git clone https://github.com/alexander-the-alright/soary
@@ -63,6 +73,3 @@ else
mv donut ~/bin
fi