Skip to content

bryaan/dotfiles

Repository files navigation

dotfiles

Makes me feel at $HOME

  • Fractal folders. So in most first level dirs you will find fish files that contain commands for that particular app. They may also contain setup, but in this case files should be imported manually so the order of import can be fixed.

  • Anything with an extension of .symlink will get symlinked into $HOME when you run ./install.sh. (without .symlink extension)

Bootstrap all symlinks and copy files

## Run Bootstrap Once
dots.bootstrap
## Run Bootstrap Loop
dots

## (Optional) Set System Config Defaults
sh ./os_macos/set-defaults.sh
sh ./os_linux/set-defaults.sh

Structure

Anything with an extension of .symlink will get symlinked (without .symlink extension) into $HOME when you run ./install.sh.

  • Fractal folders. So in most first level dirs you will find fish files that contain commands for that particular app. They may also contain setup, but in this case files should be imported manually so the order of import can be fixed.

  • All files ending in *.symlink, no matter their location, are to be symlinked into $HOME. TODO Directories should also work, for example the dir /atom.symlink will be symlinked into $HOME/.atom

Setup

Must have the nix package manager installed.

Cloning To New Machine

git clone ... ~/src/dotfiles
See Install Nix instructions below

Updating Machines

cd $DOTFILES; git pull; dots.bootstrap; reload

Update fish completions fish_update_completions to parse man pages and gernate new completions. They go in ~/.config/fish/completions

Update Sublime and Sublime Packages Open Command Menu (Super + Shift + p) Search for: "Package Control: Upgrade/Overide All Packages"

Resources

OMF Packages


RHEL - Enable Passwordless sudo for user

sudo visudo
# Allow bryan to run sudo command as root on any terminal without passwd
bryan ALL=(root) NOPASSWD: /usr/bin/sudo

Build and install dotfiles

cd ~/src/dotfiles
chmod u+x bootstrap/jinja_script.py
nix-shell
gulp

Install nerd-fonts (works mac and linux)

TODO move to one-shot script

https://nerdfonts.com/

mkdir $HOME/.fonts; cd $HOME/.fonts
git clone --depth 1 https://github.com/ryanoasis/nerd-fonts.git
./nerd-fonts/install.sh Hack
./nerd-fonts/install.sh Inconsolata
./nerd-fonts/install.sh Monoid
./nerd-fonts/install.sh Meslo
./nerd-fonts/install.sh DroidSansMono
rm -rf ./nerd-fonts

Sublime Install + Setup

  1. Run functions below to copy settings over.
  2. Sublime Cmd Menu -> Install Package Control
  3. Sublime Cmd Menu -> Package Control: Upgrade/Overide All Packages

These commands must be run together, or sublime must be off, bc it creates the User folder on delete.

# On Mac
set -l subldir /Users/bryan/Library/Application\ Support/Sublime\ Text\ 3/Packages

# On Linux
set -l subldir $HOME/.config/sublime-text-3/Packages

rm -rf $subldirbase/User; rm -rf $subldirbase/Default;  \
 ln -sf $DOTFILES/sublime/User/      $subldir;   \
 ln -sf $DOTFILES/sublime/Default/   $subldir

Resources

OMF Packages



Enable Extra Casks (Beta Nightly mostly)

brew tap caskroom/versions brew cask install firefox-nightly

https://caskroom.github.io/search brew cask install
alfred
virtualbox
google-chrome
firefox
sublime-text \

gnome3.gnome-characters Simple utility application to find and insert unusual characters

Chrome Extensions

uBlock Origin Autofill Lastpass sessionbuddy

BrowserStack iMacros for Chrome JSON Viewer Visual Event Vue.js devtools

Brewfile

TODO Replace this with a brewfile obtained from brew dump.

Quick Look plugins These plugins adds support for the corresponding file type to Mac Quick Look (In Finder, mark a file and press Space to start Quick Look). The plugins includes features like syntax highlighting, markdown rendering, preview of JSON, patch files, csv, zip files and more.

$ brew cask install
qlcolorcode
qlstephen
qlmarkdown
quicklook-json
qlprettypatch
quicklook-csv
betterzipql
webpquicklook
suspicious-package App Suggestions Here are some useful apps that are available on Cask.

$ brew cask install
alfred
android-file-transfer
asepsis
appcleaner
caffeine
cheatsheet
docker
doubletwist
dropbox
google-chrome
google-drive
google-hangouts
flux
latexian
1password
pdftk
spectacle
sublime-text
superduper
totalfinder
transmission
valentina-studio
vlc


TODO move to aii

http://strategoxt.org/ http://strategoxt.org/Spoofax/WebHome http://strategoxt.org/Transform/ProgramTransformation http://strategoxt.org/Stratego/StrategoLanguage

https://console.bluemix.net/docs/services/alchemy-language/customizing.html#overview https://console.bluemix.net/docs/services/alchemy-language/migration.html#index https://console.bluemix.net/docs/services/alchemy-language/visual-constraints.html#visualConstraints