Need help with dotfiles?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

bkuhlmann
135 Stars 23 Forks Other 1.8K Commits 0 Opened issues

Description

Shell scripts for applying default settings to UNIX-based operating systems.

Services available

!
?

Need anything else?

Contributors list

# 69,462
Ruby
yarn
CSS
Rails
1098 commits

:toc: macro :toclevels: 5 :figure-caption!:

= Dotfiles

[link=https://circleci.com/gh/bkuhlmann/dotfiles] image::https://circleci.com/gh/bkuhlmann/dotfiles.svg?style=svg[Circle CI Status]

Shell scripts for applying default settings to UNIX-based operating systems.

By default, these are set to my preferences (namely for macOS) but you can change them to your liking by editing any of the

.tt
template files in the
home_files
directory. Read on to learn more.

toc::[]

== Features

  • Configures the
    .hushlogin
    file.
  • Configures the link:https://github.com/amazing-print/amazing_printAmazing Print file.
  • Configures the Bash (
    .bashrc
    ,
    .bash_profile
    , and
    .inputrc
    ) files.
  • Configures the link:http://ctags.sourceforge.netCTags file.
  • Configures the link:https://git-scm.comGit files.
  • Configures the link:https://www.npmjs.orgNPM file.
  • Configures the link:https://www.postgresql.orgPostgreSQL file.
  • Configures the link:http://pry.github.comPry file.
  • Configures the link:https://voormedia.github.io/rails-erdRails ERD file.
  • Configures the link:https://rspec.infoRSpec file.
  • Configures the link:https://www.ruby-lang.orgRuby files.
  • Configures the link:http://bashdb.sourceforge.net/ruby-debug.htmlRuby Debugger file.
  • Configures the link:https://rubygems.orgRuby Gems file.
  • Configures the link:https://github.com/bbatsov/rubocopRubocop file.
  • Configures the link:https://github.com/ggreer/thesilversearcherSilver Surfer file.
  • Configures the link:https://www.vim.orgVim file.
  • Configures link:https://www.sublimetext.com[Sublime Text] as the default editor.
  • Adds link:http://bash-completion.alioth.debian.org[Bash Completion].
  • Adds link:https://github.com/postmodern/chruby[chruby] support.
  • Adds link:https://direnv.net[direnv] support.
  • Adds link:https://www.gnupg.org[GPG] support.
  • Adds link:https://nodejs.org[Node.js] support.
  • Adds link:https://github.com/rupa/z[Z] support.

== Screencasts

[link=https://www.alchemists.io/screencasts/dotfiles] image::https://www.alchemists.io/images/screencasts/dotfiles/cover.svg[Screencast,600,240,role=focal_point]

== Requirements

. link:https://www.alchemists.io/projects/mac_os-config[macOS Configuration]

== Setup

To install, run:

[source,bash]

git clone https://github.com/bkuhlmann/dotfiles.git cd dotfiles

git checkout 43.0.0

== Upgrade

When upgrading to a new version, run the following:

. Run:

bin/run l
. Links new files. If not using linked files, run
bin/run d
and
bin/run i
instead. . Run:
bin/run c
. Displays file differences, if any. Usually, this will be excluded files. . Run:
exec $SHELL
. Updates current shell with the above changes.

== Usage

Edit any of the

.tt
(template) and/or
.command
(command) files in the
home_files
directory as you see fit. Then open a terminal window and execute the following command to install:

[source,bash]

cd dotfiles

bin/run

Executing the

bin/run
script will present the following options:

.... s: Show managed dotfiles. i: Install dotfiles (existing files are skipped). l: Link dotfiles to this project (interactive per file, excludes: env.sh and .gitconfig). c: Check for differences between $HOME files and this project's files. d: Delete dotfiles (interactive per file, excludes: env.sh and .gitconfig). q: Quit/Exit. ....

The options prompt can be skipped by passing the desired option directly to the

bin/run
script. For example, executing
bin/run s
will show all managed dotfiles by this project.

After install, the following files will require manual updating:

  • .bash/env.sh
    : Add secret/machine-specific environment settings (if any).
  • .gitconfig
    : Uncomment the name, email, and token lines within the
    [user]
    and
    [github]
    sections to replace with your own details.

START

=== Aliases

==== https://asciidoctor.org:[ASCII Doctor]

.... ad = "asciidoctor" ....

==== https://asciinema.org:[asciinema]

.... cin = "asciinema" cina = "asciinema rec --append" cinc = "asciinema cat" cine = "asciinema_plus -e" cinp = "asciinema play" cinu = "asciinema upload" ....

==== https://www.gnu.org/software/bash:[Bash]

.... bashe = "$EDITOR $HOME/.config/bash/env.sh" bashs = "exec $SHELL" ....

==== https://bundler.io:[Bundler]

.... ba = "bundle add" bb = "bundle binstubs" bce = "$EDITOR $HOME/.config/bundler/configuration.yml" bch = "rm -f Gemfile.lock; bundle check" bd = "bundle doctor" be = "bundle exec" bi = "bundle install" blo = "bundle list --paths | fzf | xargs $EDITOR" bo = "bundle outdated --only-explicit" br = "bundle remove" bu = "bundle update" ....

==== https://github.com/postmodern/chruby:[chruby]

.... rb = "chruby" ....

==== https://crystal-lang.org:[Crystal]

.... cr = "crystal" crb = "crystal build" crd = "crystal docs" crdo = "open docs/index.html" crr = "crystal run" crs = "crystal spec" ....

==== https://direnv.net:[direnv]

.... denva = "direnv allow" denvr = "direnv reload" denvs = "direnv status" ....

==== https://www.docker.com:[Docker]

.... dr = "docker" drb = "docker build" drc = "docker-compose" drd = "docker system prune --force && docker buildx prune --force" dri = "docker images" drp = "docker ps --all" drt = "docker tag" ....

==== http://duti.org:[duti]

.... dutia = "duti $HOME/.config/duti/configuration.duti" ....

==== https://elm-lang.org:[Elm]

.... elmc = "elm repl" elmg = "elm init" elmi = "elm install" elmp = "elm publish" elms = "elm reactor" elmt = "elm-test" ....

==== https://the.exa.website:[Exa]

.... x1 = "exa --oneline --all --group-directories-first" x = "exa --all --long --header --group --group-directories-first --time-style long-iso --git --git-ignore" xt = "exa --tree" ....

==== https://github.com/junegunn/fzf:[Fuzzy Finder]

.... ff = "fzf --preview 'bat --theme DarkNeon --color always {}' | xargs $EDITOR" ....

==== https://www.alchemists.io/projects/gemsmith:[Gemsmith]

.... gse = "gemsmith --config --edit" gsg = "gemsmith --generate" gsi = "rake install" gso = "gemsmith --open" gsp = "rake publish" gsq = "rake code_quality" gsr = "gemsmith --read" ....

==== General

.... ... = "cd ../.." .. = "cd .." c = "clear" cat = "bat --theme DarkNeon" cdb = "cd -" du = "ncdu -e --color dark" h = "history" l1 = "ls -A1 | copyandprint '\n'" l = "ls -alhT" man = "gem man --system" o = "open" p = 'pwd | tr -d "\r\n" | _copyand_print' pss = "pgrep -i -l -f" rmde = "find . -type d -empty -not -path '.git' -delete" ....

==== https://git-scm.com:[Git]

.... ga = "git add" gall = "git add --all ." gamend = "git commit --amend" gamenda = "git commit --amend --all --no-edit" gamendh = "git commit --amend --no-edit" gap = "git add --patch" gashc = "git stash clear" gatch = "git commit --patch" gau = "git add --update" gb = "git switch" gbb = "git switch -" gbe = "git branch --edit-description" gbi = "git bisect" gbib = "git bisect bad" gbig = "git bisect good" gbih = "git bisect help" gbil = "git bisect log" gbir = "git bisect reset" gbire = "git bisect replay" gbis = "git bisect start" gbisk = "git bisect skip" gbiv = 'git bisect visualize --reverse --pretty=format:"$(gitloglineformat)"' gbm = 'git switch $(gitbranchdefault)' gbn = "gitbranchname | copyandprint" gbt = "git show-branch --topics" gca = "git commit --all" gcam = "git commit --all --message" gcd = "git config --list --show-origin --show-scope" gce = 'cat .git/COMMITEDITMSG | rg --invert-match "^#." | pbcopy' gcf = "git commit --fixup" gcge = "git config --global --edit" gcl = "git clone" gcle = "git config --local --edit" gcm = "git commit --message" gco = "git commit" gcp = "git cherry-pick" gcpa = "git cherry-pick --abort" gcps = "git cherry-pick --skip" gcs = "git commit --squash" gd = "git diff" gdc = "git diff --cached" gdm = 'git diff origin/$(gitbranchdefault)' gdo = 'git diff --name-only | uniq | xargs $EDITOR' gdt = "git difftool" gdtc = "git difftool --cached" gdtm = 'git difftool origin/$(gitbranchdefault)' gdw = "git diff --color-words" gel = "git rm" gelc = "git rm --cached" # Removes previously tracked file from index after being added to gitignore. ges = "git reset" gf = "git fetch" gg = "git grep" gget = "git config --get" gi = "git init && git config --global --add maintenance.repo $PWD" gl = 'git log --graph --pretty=format:"$(gitloglineformat)"' glame = "git blame -M -C -C -C" glean = "git clean -d --force" glf = 'git fetch && git log --reverse --no-merges --pretty=format:"$(gitloglineformat)" [email protected]{upstream}' glg = 'git log --pretty=format:"$(gitloglineformat)" --grep' glh = "gitcommitlast | _copyandprint" gls = 'git log --pretty=format:"$(gitlogline_format)" -S' glt = 'git for-each-ref --sort=taggerdate --color --format = "%(color:yellow)%(refname:short)%(color:reset)|%(taggerdate:short)|%(color:blue)%(color:bold)%(authorname)%(color:reset)|%(subject)" refs/tags | column -s"|" -t' gna = "git notes add" gnd = "git notes remove" gne = "git notes edit" gnl = "git notes list" gnp = "git notes prune" gns = "git notes show" gpf = "git push --force-with-lease" gpn = "git push --no-verify" gpo = "git push --set-upstream origin" gpu = "git pull" gpuo = "git pull origin" gpuom = 'git pull origin $(gitbranchdefault)' gpuum = 'git pull upstream $(gitbranchdefault)' gr = "git restore" grba = "git rebase --abort" grbc = "git rebase --continue" grbd = "git rebase --show-current-patch" grbo = "git rebase --onto" grbs = "git rebase --skip" grbt = "git rebase --edit-todo" grev = "git revert --no-commit" grl = "git reflog" grom = 'git fetch --all && git reset --hard origin/$(gitbranch_default)' # Reset local branch to origin/main branch. UNRECOVERABLE! grr = "git rerere" gset = "git config --add" gst = "git status --short --branch" gtag = "git tag" gtags = "git push --tags" gtagv = "git tag --verify" guthors = 'git log --color --pretty=format:"%C(bold blue)%an%C(reset)" | sort | uniq -c | sort --reverse' gwl = "git worktree list" gwp = "git worktree prune" ....

==== https://brew.sh:[Homebrew]

.... hb = "brew" hbd = "brew doctor" hbi = "brew update && brew install" hbin = "brew info" hblc = "brew list --casks --versions | fzf" hblf = "brew list --formulae --versions | fzf" hbp = "brew pin" hbpu = "brew unpin" hbs = "brew search" hbsu = "brew update && brew upgrade && brew cleanup" hbu = "brew uninstall" hbug = "brew update && brew upgrade" ....

==== https://marked2app.com:[Marked 2]

.... mo = "open -a Marked\ 2" ....

==== https://www.alchemists.io/projects/milestoner:[Milestoner]

.... ms = "milestoner" msc = 'milestoner --commits | copyand_print "\n"' mse = "milestoner --config --edit" msp = "milestoner --publish" ....

==== Network

.... dnsf = "sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder && printf 'DNS cache cleared.\n'" dnsi = "scutil --dns" dnss = "sudo dscacheutil -statistics" ipa = 'curl --silent checkip.dyndns.org | rg --only-matching "[0-9.]+" | copyand_print' key = "open /Applications/Utilities/Keychain\ Access.app" ping = "prettyping --nolegend" sshe = "$EDITOR $HOME/.ssh/config" top = "htop" ....

==== https://cocoatech.com:[Path Finder]

.... pfo = 'open -a "Path Finder.app" "$PWD"' ....

==== https://www.postgresql.org:[PostgreSQL]

.... pgi = "initdb $HOMEBREWPREFIX/var/postgres" pgsp = "pgctl -D $HOMEBREWPREFIX/var/postgres stop -s -m fast" pgst = "pgctl -D $HOMEBREWPREFIX/var/postgres -l $HOMEBREWPREFIX/var/postgres/server.log start &" ....

==== https://redis.io:[Redis]

.... redc = "redis-cli" reds = "redis-server $HOMEBREW_PREFIX/etc/redis.conf &" ....

==== https://github.com/BurntSushi/ripgrep:[ripgrep]

.... rgf = "rg --files --glob" ....

==== https://rspec.info:[RSpec]

.... rsf = "rspec spec --only-failures" rsn = "rspec spec --next-failure" rso = "rspec spec --dry-run --format doc > tmp/rspec-overview.txt && e tmp/rspec-overview.txt" rss = "rspec spec" rst = "rspec spec --tag" ....

==== https://github.com/bbatsov/rubocop:[Rubocop]

.... cop = "rubocop --parallel --display-cop-names --display-style-guide" copc = "rubocop --auto-gen-config" copd = 'find . -name ".rubocop-http*" -type f -delete' copf = "rubocop --auto-correct" copfo = "rubocop --auto-correct --only" copo = "rubocop --display-cop-names --only" cops = "rubocop --show-cops" ....

==== https://www.ruby-lang.org:[Ruby]

.... rbbe = "$EDITOR $HOME/Engineering/Misc/benchmark.rb" rbbr = "ruby $HOME/Engineering/Misc/benchmark.rb" rbi = "ruby-install" rbse = "$EDITOR $HOME/Engineering/Misc/snippet.rb" rbsr = "ruby $HOME/Engineering/Misc/snippet.rb" ....

==== https://rubyonrails.org:[Ruby on Rails]

.... railsb = "rails console --sandbox" railsdbm = "rake db:migrate && rake db:rollback && rake db:migrate && RAILS_ENV=test rake db:migrate" railse = "EDITOR = 'sublime --wait' rails credentials:edit" ....

==== https://github.com/whitesmith/RubyCritic:[RubyCritic]

.... rbct = "open tmp/rubycritic/overview.html" ....

==== https://rubygems.org:[RubyGems]

.... gemc = "gem cleanup" gemcli = "ag --depth=1 --files-with-matches --file-search-regex gemspec executables | xargs basename | cut -d. -f1 | sort | copyand_print '\n'" gemcr = "$EDITOR $HOME/.gem/credentials" geme = "gem environment" gemi = "gem install" geml = "gem list" gemp = "gem pristine" gems = "gem server" gemu = "gem uninstall" gemuc = "gem update --system && gem update && gem cleanup" ....

==== https://www.alchemists.io/projects/rubysmith:[Rubysmith]

.... rbb = "rubysmith --build" ....

==== https://github.com/colszowka/simplecov:[SimpleCov]

.... cov = "open coverage/index.html" ....

==== https://www.sublimetext.com:[Sublime Text]

.... e = "sublime" ....

==== https://www.gnu.org/software/tar/tar.html:[Tar]

.... bzc = "tar --use-compress-program=pigz --create --preserve-permissions --bzip2 --verbose --file" bzx = "tar --extract --bzip2 --verbose --file" ....

==== https://www.terraform.io:[Terraform]

.... tf = "terraform" tfa = "noti --title 'Terraform Apply' terraform apply" tfc = "terraform console" tff = "terraform fmt" tfg = "terraform graph | dot -Tsvg > tmp/graph.svg && open -a 'Firefox.app' tmp/graph.svg" tfi = "terraform init" tfo = "terraform output" tfp = "noti --title 'Terraform Plan' terraform plan" tft = "terraform taint" tfu = "terraform untaint" tfv = "terraform validate" ....

==== http://tmux.sourceforge.net:[tmux]

.... tsa = "tmux attach-session -t" tsk = "tmux kill-session -t" tsl = "tmux list-sessions" tsr = "tmux rename-session -t" ....

==== https://gitlab.com/procps-ng/procps:[Watch]

.... wp = "watch --interval 1 --color --beep --exec" ....

==== https://yarnpkg.com:[Yarn]

.... ya = "yarn add" yad = "yarn add --dev" yi = "yarn install" yo = "yarn outdated" yr = "yarn remove" ys = "yarn run" yu = "yarn upgrade" ....

==== https://github.com/rupa/z:[Z]

.... ze = "$EDITOR $ZDATA" ....

=== Functions

==== link:https://asciidoctor.org[ASCII Doctor]

.... ado = ASCII Doctor Open - Transforms ASCII Doc into HTML and opens in default browser. ....

==== https://asciinema.org:[asciinema]

.... cinr = asciinema Record - Create new asciinema recording. ....

==== https://bundler.io:[Bundler]

.... bca = Bundle Clean (all) - Clean projects of gem artifacts (i.e. pkg folder). bcg = Bundler Config Gem - Configure Bundler to use local gem for development purposes. bj = Bundler Jobs - Answer maximum Bundler job limit for current machine or automatically set it. bl = Bundle List - List gem dependencies for project and copy them to clipboard. boa = Bundle Outdated (all) - Answer outdated gems for projects in current directory. bua = Bundle Update (all) - Update gems for projects in current directory. ....

==== https://www.alchemists.io/projects/code_quality:[Code Quality]

.... cqa = Code Quality (all) - Run code quality tasks for projects in current directory. cqi = Code Quality Issues - List all source files affected by code quality issues. ....

==== https://curl.se:[curl]

.... curld = Curl Diagnostics - Curl with diagnostic information for request. curli = Curl Inspect - Inspect remote file with default editor. ....

==== Dotfiles

.... dots = Dotfiles - Learn about dotfile aliases, functions, etc. ....

==== https://elm-lang.org:[Elm]

.... elml = Elm Live - Watch for source code changes and recompile immediately. elmm = Elm Make - Compile Elm source. ....

==== General

.... cype = Colorized Type - Identical to "type" system command but with Bat support. eup = Environment Update - Update environment with latest software. iso = ISO - Builds an ISO image from mounted volume. kilp = Kill Process - Kill errant/undesired process. t2s = Tab to Space - Convert file from tab to space indendation. ....

==== https://git-scm.com:[Git]

.... gafe = Git Safe - Marks repository as safe for auto-loading project's

bin
path. galla = Git Add (all) - Apply file changes (including new files) for projects in current directory. gash = Git Stash - Creates stash. gasha = Git Stash (all) - Answer stash count for projects in current directory. gashd = Git Stash Drop - Drop stash or prompt for stash to drop. gashl = Git Stash List - List stashes. gashp = Git Stash Pop - Pop stash or prompt for stash to pop. gashs = Git Stash Show - Show stash or prompt for stash to show. gbc = Git Branch Create - Create and switch to branch. gbca = Git Branch Create (all) - Create and switch to branch for projects in current directory. gbd = Git Branch Delete - Interactively delete local and/or remote branch. gbdl = Git Branch Delete (local) - Delete local branch. gbdm = Git Branch Delete (merged) - Delete remote and local merged branches. gbdr = Git Branch Delete (remote) - Delete remote branch. gbf = Git Branch Facsimile - Duplicate current branch with new name and switch to it. gbl = Git Branch List - List local and remote branch details. gbla = Git Branch List (all) - List current branch for projects in current directory. gblo = Git Branch List (owner) - List branches owned by current author or supplied author. gbna = Git Branch Number (all) - Answer number of branches for projects in current directory. gbr = Git Branch Rename - Rename current branch. gbs = Git Branch Switch - Switch between branches. gbsa = Git Branch Switch (all) - Switch to given branch for projects in current directory. gcaa = Git Commit (all) - Commit changes (unstaged and staged) for projects in current directory. gcap = Git Commit and Push (all) - Commit and push changes for projects in current directory. gcb = Git Commit Breakpoint - Create a breakpoint (empty) commit to denote related commits in a feature branch. gcff = Git Commit Fix (file) - Create commit fix for file (ignores previous fixups). gcfi = Git Commit Fix (interactive) - Select which commit to fix within current feature branch. gday = Git Day - Answer summarized list of current day activity for projects in current directory. gesh = Git Reset Hard - Reset to HEAD, destroying all untracked, staged, and unstaged changes. UNRECOVERABLE! gesha = Git Reset Hard (all) - Destroy all untracked, staged, and unstaged changes for all projects in current directory. UNRECOVERABLE! gess = Git Reset Soft - Resets previous commit (default), resets back to number of commits, or resets to specific commit. ggeta = Git Get Config Value (all) - Answer key value for projects in current directory. ghow = Git Show - Show commit details with optional diff support. ghurn = Git Churn - Answer commit churn for project files (sorted highest to lowest). gia = Git Init (all) - Initialize/re-initialize repositories in current directory. gile = Git File - Show file details for a specific commit (with optional diff support). gince = Git Since - Answer summarized list of activity since date/time for projects in current directory. ginfo = Git Info - Print repository overview information. gistory = Git File History - View file commit history (with optional diff support). glameh = Git Blame History - View file commit history for a specific file and/or lines (with optional diff support). gld = Git Log Details - List default or feature branch commit details. gleana = Git Clean (all) - Clean uncommitted files from all projects in current directory. glear = Git Clear - Clear repository for packaging/shipping purposes. gli = Git Log (interactive) - List default or feature branch commits with commit show and/or diff support. gma = Git Merge (all) - Merges, deletes, and pushes feature branch. gmonth = Git Month - Answer summarized list of current month activity for projects in current directory. gmpa = Git Amend Push (all) - Amend all changes and force push with lease for projects in current directory. gount = Git Commit Count - Answer total number of commits for current project. gp = Git Push - Pushes changes to remote repository with dynamic branch creation if non-existent. gpa = Git Push (all) - Push changes for projects in current directory. gpua = Git Pull (all) - Pull new changes from remote branch for projects in current directory. gra = Git Remote Add - Add and track a remote repository. grbi = Git Rebase (interactive) - Rebase commits, interactively. grbq = Git Rebase (quick) - Rebase commits, quickly. Identical to
grbi
function but skips editor. groot = Git Root - Change to repository root directory regardless of current depth. gseta = Git Set Config Value (all) - Set key value for projects in current directory. gsta = Git Status (all) - Answer status of projects with uncommited/unpushed changes. gstats = Git Statistics - Answer statistics for current project. gstatsa = Git Statistics (all) - Answer statistics for all projects in current directory. gsup = Git Standup - Answer summarized list of activity since yesterday for projects in current directory. gtagd = Git Tag Delete - Delete local and remote tag (if found). gtagr = Git Tag Rebuild - Rebuild a previous tag. WARNING: Use with caution, especially if previously published. gtail = Git Tail - Answer commit history since last tag for current project (copies results to clipboard). gtaila = Git Tail (all) - Answer commit history count since last tag for projects in current directory. gucca = Git Upstream Commit Count (all) - Answer upstream commit count since last pull for projects in current directory. guke = Git Nuke - Permanently destroy and erase a file from history. UNRECOVERABLE! gunseta = Git Unset (all) - Unset key value for projects in current directory. gup = Git Update - Fetch commits, prune untracked references, review each commit (optional, with diff), and pull (optional). guthorc = Git Author Contributions - Answers total lines added/removed by author for repo (with emphasis on deletion). guthorsa = Git Authors (all) - Answer author commit activity per project (ranked highest to lowest). gvac = Git Verify and Clean - Verify and clean objects for current project. gvaca = Git Verify and Clean (all) - Verify and clean objects for projects in current directory. gwa = Git Worktree Add - Add and switch to new worktree. gwd = Git Worktree Delete - Deletes current Git worktree. gweek = Git Week - Answer summarized list of current week activity for projects in current directory. gync = Git Sync - Syncs up remote changes and deletes pruned/merged branches. ....

==== https://github.com:[GitHub]

.... gh = GitHub - View GitHub details for current project. ghpra = GitHub Pull Request (all) - Open pull requests for all projects in current directory (non-default branches only). ....

==== https://en.wikipedia.org/wiki/Less_(Unix):[less]

.... lessi = Less Interactive - Inspect file, interactively. ....

==== https://github.com/pivotal/LicenseFinder:[License Finder]

.... licensea = License Finder (add) - Adds library to global list. licensei = License Finder (include) - Include license in global list. ....

==== https://people.freebsd.org/~abe:[lsof]

.... port = Port - List file activity on given port. ....

==== https://jedisct1.github.io/minisign:[Minisign]

.... sigf = Minisign Sign File - Sign a file. sigg = Minisign Generate - Generate private and public key pair. sigv = Minisign Verify File - Verify signed file. ....

==== https://openssl.org:[OpenSSL]

.... sslc = SSL Certificate Creation - Create SSL certificate. ....

==== https://github.com/DarthSim/overmind:[Overmind]

.... omc = Overmind Connect - Connect to running process. omr = Overmind Restart - Restart running process. oms = Overmind Start - Start processes. ....

==== https://www.postgresql.org:[PostgreSQL]

.... pgt = PostgreSQL Template - Edit PostgreSQL template. pguc = PostgreSQL User Create - Create PostgreSQL user. pgud = PostgreSQL User Drop - Drop PostgreSQL user. ....

==== https://github.com/ruby/rake:[Rake]

.... rakea = Rake (all) - Run default Rake tasks for projects in current directory. ....

==== https://rspec.info:[RSpec]

.... rsall = RSpec (all) - Run RSpec for projects in current directory. rsb = RSpec Bisect - Debug RSpec failure using bisect to automatically determine where failure is occuring. rsd = RSpec Debug - Debug intermittent RSpec failure(s) by running spec(s) until failure is detected. rsp = RSpec Profile - Runs RSpec specs with profiling enabled. ....

==== https://www.ruby-lang.org:[Ruby]

.... rbs = Ruby Server - Serve web content from current directory via WEBrick. rbua = Ruby Upgrade (all) - Upgrade Ruby projects in current directory with new Ruby version. rbva = Ruby Version (all) - Show current Ruby version for all projects in current directory. ....

==== https://rubygems.org:[Ruby Gems]

.... gemdep = Gem Dependency Search - Finds a gem defined within a Gemfile or a gemspec. ....

==== https://rubyonrails.org:[Ruby on Rails]

.... railsn = Ruby on Rails New - Create new Rails application from selected option. ....

==== https://github.com/Aloxaf/silicon:[Silicon]

.... scc = Silicon Copy - Generates and copies code snippet image to clipboard. ....

==== https://magic-wormhole.readthedocs.io:[Wormhole]

.... whr = Wormhole Receive - Receive encrypted payload (i.e. text, file, etc.) whs = Wormhole Send - Send encrypted path (i.e. file or directory). whst = Wormhole Send Text - Send encrypted text. ....

=== Git Hooks

.... brakemancheck = Brakeman Check - Scan Rails project for security vulnerabilities. bundlergemfilepath = Bundler Gemfile Path - Detect gem path statements. bundlerauditcheck = Bundler Audit Check - Scans gem dependencies for security vulnerabilities. capybarasaveandopenpage = Capybara Save And Open Page - Detect saveandopenpage statements. commenttotals = Comment Totals - Print project comment totals. ctagsrebuild = CTags Rebuild - Rebuild project .tags file. elmdebug = Elm Debug - Detect debug statements. gitlintcheck = Git Lint Check - Enforce consistent Git commits. gittrailercleaner = Git Trailer Cleaner - Remove unused/empty Git commit body trailers. javascriptdebugger = JavaScript Debugger - Detect JavaScript debug statements. javascriptconsole = JavaScript Console - Detect JavaScript console statements. javascriptalert = JavaScript Alert - Detect JavaScript alert statements. licensefindercheck = License Finder Check - Scan project for valid licenses. prybinding = Pry Binding - Detect Pry debug statements. reekcheck = Reek Check - Scan Ruby code for poor style choices. rspecdotfile = RSpec Dotfile - Detect RSpec dotfile. rspecfocus = RSpec Focus - Detect RSpec focus. rspecorder = RSpec Order - Detect RSpec ordered specs. rubocopcheck = Rubocop Check - Scan Ruby code for poor style choices. irbbinding = IRB Binding - Detect IRB debug statements. ....

=== IRB, Pry, and Rails consoles

[source,ruby]

CK.copy # Copies data to OS X clipboard. CK.locate # Locates source code for given object and method. CK.paste # Pastes data from OS X clipboard.

CK.search # Searches for object method for given pattern.

=== Pry Aliases

.... bp = "break" bpC = "break --delete-all" bpc = "break --disable-all" bpD = "break --delete" bpd = "break --disable" bpe = "break --enable" bph = "break --help" bt = "backtrace" c = "continue" dis = "disable-pry" e = "edit" f = "finish" n = "next" pl = "play --lines" po = "play -o" s = "step" si = "show-input" ss = "show-source" w = "whereami" ....

== Development

To contribute, run:

[source,bash]

git clone https://github.com/bkuhlmann/dotfiles.git

cd dotfiles

== Versioning

Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means:

  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
  • Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.

== Code of Conduct

Please note that this project is released with a link:CODEOFCONDUCT.adoc[CODE OF CONDUCT]. By participating in this project you agree to abide by its terms.

== Contributions

Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.

== License

Read link:LICENSE.adoc[LICENSE] for details.

== History

Read link:CHANGES.adoc[CHANGES] for details.

== Credits

Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.