tuna-f1sh / dotfiles

My dotfiles 🐠

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

John’s dotfiles

Installation

git clone https://github.com/tuna-f1sh/dotfiles && cd dotfiles
./mklink.sh # Make symbolic links of dotfiles to home
./mklink.sh .config # Make symbolic links of .config folders to .config (or
other folder)
./misc.sh # Run other setup items
./macos # Configure MacOS if using

Edit ~/.secrets to add machine only stuff and API keys.

Notes

  • mkdir ~/.vim/.vimundo for vim undo to work.
  • Powerline Fonts
  • .zshenv is sourced as every spawn. Should include non-interactive exports. Not in the links dir - see note on this in notes dropbox.
  • fzf needs to generate .fzf.zsh by calling '/opt/homebrew/bin/fzf/install'.
  • make a new ~/.prompt.zsh for new machine p10k configure.
  • Edit '~/.secrets' with API keys but also:
    • DOTFILES_VIM_FULL_FAT: use all plugins.

Useful Terminal Progs

  • fd - easy to use find
  • ncdu - visual du
  • bat - nicer cat
  • up - pipe tester
  • crex - regex test crex
  • peaclock - binary clock for CLI peaclock
  • = - perform python calculations inline 'support/scripts/='
  • flocki - json drilldown

macOS

  • Homebrew I have dumped Brewfile: brew bundle dump. Provision new machine with brew bundle install.
  • trash - in brew provides Trash control

Generally migrated macOS without migration assistant. Summary of places of importance:

  • '~/Library/Application Support': Application data, scanned through and took what I thought would be useful.
  • '~/Library/Preferences': Where most applications store there preferences (XDG_CONFIG_HOME), included macOS terminal etc. Did not copy all but when through cherry picking manually.
  • '~/Library/Services': Custom Automator/AppleScripts I had in Finder actions.
  • '~/Library/virtualenvs': Didn't copy (beauty of virtualenvs right?!) but might be useful.
  • '~/Library/Fonts': Copied all these.
  • Some Applications have folders in Library that are helpful to copy, 'arduino15' for example.

Arch

Windows

WSL

  • link/wsl contains functions and defines, must export WSL=true in .secrets to source

About

My dotfiles 🐠

License:MIT License


Languages

Language:Shell 63.4%Language:Python 21.1%Language:Vim Script 6.9%Language:CSS 4.3%Language:HTML 1.9%Language:Perl 1.7%Language:Ruby 0.4%Language:Vim Snippet 0.1%Language:Makefile 0.1%Language:Batchfile 0.1%