Skip to content

junkw/dotfiles

Repository files navigation

My dotfiles

Requirements

Installation

git clone https://github.com/junkw/dotfiles.git /path/to/local/repo
cd /path/to/local/repo
rake

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor

brew tap Homebrew/bundle
brew bundle -v

brew link --force texinfo
brew link [email protected]
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
ln -sf /opt/homebrew/etc/[email protected] /opt/homebrew/etc/openssl
fc-cache -vf

[email protected] rake after
mu init --muhome=$XDG_CACHE_HOME/mu/ --maildir=$XDG_DATA_HOME/mail/ --my-address=$GMAIL

export SHELL=/opt/homebrew/bin/zsh
echo $SHELL | sudo tee -a /etc/shells
chsh -s $SHELL
exec $SHELL -l

BasicTeX

sudo tlmgr update --self --all
sudo tlmgr paper a4
sudo tlmgr install collection-langjapanese
curl -L git.io/nodebrew | perl - setup
exec $SHELL -l
nodebrew install-binary stable
nodebrew use stable && exec $SHELL -l

npm install -g npm-check-updates \
  @emacs-eask/cli \
  traverse \
  csslint \
  intelephense \
  jshint \
  tern \
  textlint \
  @textlint/ast-node-types \
  textlint-plugin-html \
  textlint-plugin-org \
  textlint-filter-rule-comments \
  textlint-filter-rule-allowlist \
  textlint-rule-preset-ja-technical-writing \
  textlint-rule-preset-ja-spacing \
  textlint-rule-ja-no-orthographic-variants \
  @textlint-ja/textlint-rule-no-dropping-i \
  textlint-rule-prefer-tari-tari \
  textlint-rule-ginger \
  textlint-rule-write-good

QuickLook

sudo xattr -cr ~/Library/QuickLook/QLStephen.qlgenerator

defaults write org.n8gray.QLColorCode textEncoding UTF-8
defaults write org.n8gray.QLColorCode font RictyDiminishedDiscord-Reqular
defaults write org.n8gray.QLColorCode fontSizePoints 10
defaults write org.n8gray.QLColorCode extraHLFlags '-l'

qlmanage -r cache
qlmanage -r