Personal configuration files for macOS.
Find a file
2023-03-03 15:43:55 +01:00
.config Add Karabiner config 2023-03-03 15:43:55 +01:00
.iterm2_preferences Add iTerm2 preferences 2023-03-03 09:54:11 +01:00
App icons Rename some directories 2023-03-03 10:03:33 +01:00
Wallpapers Rename some directories 2023-03-03 10:03:33 +01:00
.gitconfig Update Git config 2023-03-02 16:19:07 +01:00
.gitignore_global Add Git config 2023-03-02 16:14:24 +01:00
.vimrc Add minimal .vimrc without plugins 2023-03-02 16:15:43 +01:00
README.md Add Karabiner config 2023-03-03 15:43:55 +01:00

Configuration files for macOS

A small collection of configuration files for macOS, including:

Setup

# Clone this repo as a bare repo
alias conf='git --git-dir=$HOME/.myconfig.git/ --work-tree=$HOME'
echo ".myconfig.git" >> .gitignore
git clone --bare https://github.com/mikkelsvartveit/dotfiles.git $HOME/.myconfig.git
conf checkout
conf config --local status.showUntrackedFiles no

# Install Homebrew packages
brew install python php fish git neovim ripgrep autojump thefuck

# Install Node Version Manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

# Install shell-gpt
pip install shell-gpt --user

# Set up fish shell, oh-my-fish and plugins
fish
fish_add_path /opt/homebrew/bin
echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/fish
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
omf install bass
omf install https://github.com/jhillyerd/plugin-git

# Install latest LTS version of Node.js
nvm install --lts
nvm use --lts