mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 19:22:38 +00:00
Update README
This commit is contained in:
parent
450f2f38d9
commit
3b5e5527d6
1 changed files with 22 additions and 13 deletions
35
README.md
35
README.md
|
|
@ -12,24 +12,27 @@ A small collection of configuration files for macOS, including:
|
|||
|
||||
## Setup
|
||||
|
||||
#### Install software
|
||||
|
||||
```bash
|
||||
# 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
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
# Install Homebrew packages
|
||||
brew install python php fish git neovim ripgrep autojump thefuck
|
||||
|
||||
# Install Node Version Manager
|
||||
# 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
|
||||
|
||||
# Install shell-gpt
|
||||
pip install shell-gpt --user
|
||||
pip3 install shell-gpt --user
|
||||
```
|
||||
|
||||
# Set up fish shell, oh-my-fish and plugins
|
||||
#### Set up fish shell, oh-my-fish and plugins
|
||||
|
||||
```bash
|
||||
fish
|
||||
fish_add_path /opt/homebrew/bin
|
||||
echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells
|
||||
|
|
@ -37,8 +40,14 @@ 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
|
||||
```
|
||||
|
||||
#### Clone and checkout these config files
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue