From bc4d81c3a36447eaeef2daf00244245e5f856514 Mon Sep 17 00:00:00 2001 From: jontino tinerino Date: Sun, 22 Dec 2024 00:08:38 -0500 Subject: [PATCH] added symlink command so updates persist --- mac/mac_setup.sh | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/mac/mac_setup.sh b/mac/mac_setup.sh index ca3aa94..8d71ec7 100755 --- a/mac/mac_setup.sh +++ b/mac/mac_setup.sh @@ -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 - - -