mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 23:16:44 +00:00
update scripts for new macbook air
Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
6
setup.sh
6
setup.sh
@@ -25,7 +25,7 @@ CONFIG_FILES=(
|
||||
)
|
||||
|
||||
CUSTOM_FILES=(
|
||||
"ssh/config .ssh/config"
|
||||
# "ssh/config .ssh/config"
|
||||
"git/config .gitconfig"
|
||||
)
|
||||
|
||||
@@ -110,8 +110,7 @@ function backup() {
|
||||
}
|
||||
|
||||
function recover() {
|
||||
# sudo xcode-select --install
|
||||
# sudo softwareupdate --install-rosetta
|
||||
#softwareupdate --install-rosetta
|
||||
OS="$(uname)"
|
||||
|
||||
# Homebrew
|
||||
@@ -121,6 +120,7 @@ function recover() {
|
||||
fi
|
||||
if [ "$OS" = 'Darwin' ]; then
|
||||
export PATH=/usr/local/bin/:$PATH
|
||||
xcode-select --install
|
||||
elif [ "$OS" = 'Linux' ]; then
|
||||
export PATH=/home/linuxbrew/.linuxbrew/bin/:$PATH
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user