less than 1 minute read

Prerequisites

  • install the following packages
    • zsh
    • tmux
    • vim
    • git

Setup

dotfiles

  • clone dotfiles repository: git clone https://github.com/sfo/.dotfiles.git
  • link the files:
    1
    2
    3
    4
    
    ln -s ~/.dotfiles/.gitconfig ~/
    ln -s ~/.dotfiles/.tmux.conf ~/
    ln -s ~/.dotfiles/.vimrc ~/
    ln -s ~/.dotfiles/.condarc ~/
    

vim

  • install vundle package manager:
    1
    
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
  • open vim and install plugins:
    1
    
    :PluginInstall
    

zsh

  • prefer version >=5.4

oh-my-zsh

  • install the oh-my-zsh stuff
    1
    
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
  • clone my repo into oh my zsh’s custom folder
    1
    2
    
    rm -rf ~/.oh-my-zsh/custom
    git clone --recurse-submodules https://github.com/sfo/ohsfozsh.git ~/.oh-my-zsh/custom
    
  • sometimes, an additional submodule upate is necessary:
    1
    
    git submodule update --init --recursive
    
  • replace .zshrc with link to dotfiles repository:
    1
    
    ln -sf ~/.dotfiles/.zshrc ~/
    
  • run new zsh session or execure omz reload

dircolors

  • list available color schemes:
    1
    
    lssolarized
    
  • configure color scheme:
    1
    
    setupsolarized dircolors.ansi-light
    

tmux

  • install TMUX Plugin Manager:
    1
    
    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
    
  • start a new tmux server and install plugins listed in .tmux.conf via CTRL-B+SHIFT-I

htop

  • in case you can’t see numbers in htop anymore, change the theme to “Broken Gray”