/dotfiles

Personal dotfiles

Primary LanguageShell

README

These are my personal dotfiles.

Pre-installation

macOS

  1. Install brew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install pyenv

    curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
  3. Install nvm

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.05/install.sh | bash
  4. Install zsh

    brew install zsh zsh-completions
  5. Install oh-my-zsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  6. Install zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.zsh-syntax-highlighting
  7. 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
  8. Install node

    nvm install 18.18.0
  9. Install node packages

    npm i -g diff-so-fancy @microsoft/compose-language-service yarn neovim typescript
  10. Install powerline fonts

    git clone https://github.com/powerline/fonts.git --depth=1
    cd fonts && ./install.sh
    cd ..
    rm -rf fonts
  11. Install nerd fonts

    brew tap homebrew/cask-fonts
    brew install font-hack-nerd-font

Ubuntu

TODO

Installation

  1. Clone the repository

    git clone https://github.com/p-herbert/dotfiles.git $HOME/.dotfiles
  2. Create a symbolic link from the repository .dotfiles to the home directory

    for f in $(find $HOME/.dotfiles -maxdepth 1 -type f -name ".*" -exec basename {} \;); do ln -sf $HOME/.dotfiles/$f $HOME/$f; done