my collection of dotfiles and scripts
Try to run git from the terminal. If you don’t have it installed already, it will prompt you to install it.
git --version
Helps solve a couple problems, including "clang" command requires the command line developer tools.
xcodebuild -runFirstLaunch
Create .ssh dir
mkdir ~/.ssh
cd ~/.ssh
eval "$(ssh-agent -s)"
Generate a new SSH key
ssh-keygen -t ed25519 -C "[email protected]"
Add it to keychain
ssh-add ~/.ssh/id_ed25519
Copy new key and paste as new Key in Github
pbcopy < ~/.ssh/id_ed25519.pub
Clones, sets up config alias and updates submodules.
/bin/bash -c "$(curl -Lks "https://raw.githubusercontent.com/justmejulian/.dotfiles/main/.scripts/install.sh?token=GHSAT0AAAAAABRPPHUD3ALAPFLSA2UBCNAWYTWQXNQ")"
Set remote url:
config remote set-url origin [email protected]:justmejulian/.dotfiles.git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Make sure you follow the Next Steps
Install packages
brew bundle install --file ~/.Brewfile
Install Mac US keyboard layout with German Umlauts.
curl -sL https://api.github.com/repos/patrick-zippenfenig/us-with-german-umlauts/tarball/master | sudo tar xz --exclude=README.md --strip=1 -C /Library/Keyboard\ Layouts/
- Remap
caps lock
to hyper key - quick press
caps lock
toesc
- do not include shift in hyper key
Using built-in:
System Settings > Keyboard > Shortcuts > App Shortcuts > Click the "+" button > Set Application to "All Applications"
Add the following: (Yes just Left/Right, like the exact menu command name)
Left -> Hyper + Left Arrow
Right -> Hyper + Right Arrow
Maybe look at AeroSpace
Or handle with Raycast
Use Ice to hide unwanted MenuBar Items.
Make sure nvm
is installed.
nvm -v
Install the latest node version.
nvm install node
pyenv install 3.13.1
pyenv global 3.13.1
add version to JAVA_HOME
export JAVA_HOME=`/usr/libexec/java_home -v 12.0.1`
Make sure all it setup.
checkhealth
Set the correct node version.
todo
https://www.stefanimhoff.de/raycast/
zsh compinit: insecure directories, run compaudit for list
Running compaudit
will show you which files.
Loop through all those files and give them the correct permissions.
for f in $(compaudit);do sudo chmod -R 755 $f;done;