These are my personal dotfiles.
-
Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
-
Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.05/install.sh | bash
-
Install zsh
brew install zsh zsh-completions
-
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
-
Install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.zsh-syntax-highlighting
-
Install packages
brew install awscli ack act ripgrep the_silver_searcher fzf jq z \ terraform terraform-ls tree shellcheck efm-langserver docker-completion \ yamllint openssl neovim
-
Install node
nvm install 18.18.0
-
Install node packages
npm i -g diff-so-fancy @microsoft/compose-language-service yarn neovim typescript
-
Install powerline fonts
git clone https://github.com/powerline/fonts.git --depth=1 cd fonts && ./install.sh cd .. rm -rf fonts
-
Install nerd fonts
brew tap homebrew/cask-fonts brew install font-hack-nerd-font
TODO
-
Clone the repository
git clone https://github.com/p-herbert/dotfiles.git $HOME/.dotfiles
-
Create a symbolic link from the repository
.dotfiles
to the home directoryfor f in $(find $HOME/.dotfiles -maxdepth 1 -type f -name ".*" -exec basename {} \;); do ln -sf $HOME/.dotfiles/$f $HOME/$f; done