Personal configuration files for macOS.
Find a file
2023-05-14 09:03:59 +02:00
appicons Add wallpapers and app icons 2023-04-19 16:20:25 +02:00
fish Add Raycast export 2023-05-11 10:00:27 +02:00
git Fix global gitignore 2023-04-05 18:46:40 +02:00
iterm2-preferences Fix lazy loading for nvim-leap 2023-04-10 15:46:20 +02:00
karabiner First commit 2023-03-21 16:31:37 +01:00
nvim Improve Telescope 2023-04-25 16:28:41 +02:00
raycast-export Add Raycast scripts 2023-05-14 09:03:59 +02:00
raycast-scripts Add Raycast scripts 2023-05-14 09:03:59 +02:00
vim Update .vimrc 2023-03-21 21:38:10 +01:00
vscode-neovim First commit 2023-03-21 16:31:37 +01:00
wallpapers Add wallpaper 2023-04-27 11:45:16 +02:00
.gitignore Add Raycast scripts 2023-05-14 09:03:59 +02:00
README.md Remove thefuck 2023-04-17 20:30:35 +02:00

Configuration files for macOS

A small collection of configuration files for macOS, including:

Setup

Set up these config files

# Back up old config files (optional)
cp -r ~/.config ~/.config_old

# Set up this repository
cd ~/.config
git init
git branch -m main
git remote add origin git@github.com:mikkelsvartveit/dotfiles.git
git fetch
git reset --hard origin/main
git branch --set-upstream-to=origin/main

# Tell Vim to source from the right file
echo "source ~/.config/vim/.vimrc" > .vimrc

Install software

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

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

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

Set up fish shell, oh-my-fish and plugins

fish
fish_add_path /opt/homebrew/bin # Skip this on Intel Macs
echo $(which fish) | sudo tee -a /etc/shells
chsh -s $(which 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