Skip to content

Commit

Permalink
cleanup / better notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Aug 3, 2023
1 parent b21bb14 commit e2b57cd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
default:
@echo "Cowardly refusing to run on $(shell uname). Use platform specific targets."

macos-setup: link-dotfiles link-karabiner macos
osascript -e 'tell app "loginwindow" to «event aevtrrst»'

init-post-reboot: asdf link-sublime restore-preferences disable-restore-apps-on-login

brew-install:
/bin/bash -c "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Expand All @@ -14,13 +9,14 @@ brew-bundle:
brew update
brew bundle

macos:
sh .macos
osascript -e 'tell app "loginwindow" to «event aevtrrst»'

macos-reset-dock:
defaults write com.apple.dock persistent-apps -array
killall Dock

macos:
sh .macos

link-dotfiles:
mkdir -p $$HOME/.local
./link-dotfiles.sh
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ cd .dotfiles

make brew-install
make brew-bundle
make macos-setup

# set modern bash as the default shell
(($(grep bash /etc/shells | wc -l)<2)) && which -a bash | head -n1 | sudo tee -a /etc/shells
chsh -l $(which -a bash | head -n1)

make link-dotfiles
make link-karabiner
make restore-preferences

make macos-reset-dock
make macos-disable-restore-apps-on-login
make macos
```

## GNU/Linux
Expand All @@ -25,6 +36,7 @@ make macos-setup

git clone [email protected]:nonrational/dotfiles .dotfiles
cd .dotfiles

make link-dotfiles
```

Expand Down

0 comments on commit e2b57cd

Please sign in to comment.