/dotfiles

Primary LanguageShellMIT LicenseMIT

dotfiles

My personal collection of dotfiles, originally taken from @karasinsi. You should feel free to use some, all, or none of these.

Install Profiles

I recommend using stow to set these up on your machine:

git clone https://github.com/lhalstro/dotfiles.git ~/.dotfiles
cd ~/.dotfiles

stow tmux
stow vim
stow zsh
stow vscode --target "`readlink vscode/localstorage`"
# snippets only, vscode/settings.json, vscode/keybindings.json (custom settings for different operating systems and profiles)
stow ipython --target=${HOME}/.ipython/profile_default/startup
stow bash_profile
stow timetrap
stow beets
#MANUALLY COPY INSTEAD OF STOW:
# git (gitconfig has user-specific username)

Install Dependencies

  • oh-my-zsh

    • Install zsh
    • Install oh-my-zsh
    • Might need to move your .zshrc back into place and/or set zsh as default shell
  • powerlevel10k

    • Install powerlevel10k
    • git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  • vim

    • vundle package manager: https://github.com/VundleVim/Vundle.vim
    • git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    • Install Plugins:
      • Launch vim and run :PluginInstall
      • Or, to install from command line: vim +PluginInstall +qall
  • pyenv

  • tmux

    • sudo apt-get install tmux
    • git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
    • sudo apt-get install xclip
    • brew install reattach-to-user-namespace
  • theme

    • powerlevel10k
      • git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    • Linux
      • solarized dark
      • git clone https://github.com/seebi/dircolors-solarized.git ~/.themes/dircolors-solarized
    • macOS
      • Terminal Fonts
        • git clone https://github.com/powerline/fonts.git ~/.themes/fonts
        • cd ~/.themes/fonts
        • ./install.sh
        • If you still have "?" instead of symbols in your terminal, choose a different font that ends in "for Powerline" (e.g. Deja Vu)
        • This method works for VNC, too.
          • In ~/.Xresources on machine where you run vncserver, add:
          • *.vt100.faceName: xft:DejaVu Sans Mono for Powerline:pixelsize=12
      • Terminal Colors
        • Option 1
          • In Terminal.app > Preferences > Profiles, under ANSI Colors,
          • Crank up the brightness on colors that are too dark and don't contrast with background
        • Option 2
          • Install iTerm2 brew cask install iterm2
          • iTerm2 > Preferences > Profiles > Colors > Color Presets...
          • Solarized Dark and Tango Dark are pretty good