Published October 29, 2019 Updated June 14, 2020
Demonstrates using the Dotfiles project Bash aliases and functions.
# Hello and welcome to the Alchemists Screencasts! # Today, we'll look at the Dotfiles project: # https://alchemists.io/projects/dotfiles # Let's start by installing and configuring the dotfiles. # You'll want to clone this project into a permanent folder for global use and upkeep. # In this situation, we'll use the current directory for demonstration purposes: git clone git://github.com/bkuhlmann/dotfiles.git cd dotfiles # You can check out a stable release (recommended) by running: # `git checkout <version>` # For this tutorial, we'll live on the edge and use the `master` branch instead. # We can use the `bin/run` script to configure the project: bin/run # To see all files managed by this project, use the "s" option: bin/run s # To see changes since the last upgrade, use the "c" option: bin/run c # Generally, you'll want to run `bin/run l` to link the project files. # Doing so will link to actual dotfiles in your `$HOME` directory. # 💡 See the README for more information. # Afterwards, you can make use of the `dots` function to see available options: dots # To see a list of aliases available to you, use:
dots a # For a list of functions, use: dots f # As functions are more complex than aliases, only labels and descriptions are shown. # If you want to inspect a particular function, use: cype dots # If you only need to list the available Git hooks, use: dots g # Should any of the previous examples be too verbose, you can leverage search: dots s cin # By searching for "cin", we got back all aliases and functions related to *asciinema*. # Another example might be to search for "hb" (a.k.a. Homebrew) related commands: dots s hb # These examples are only the tip of the iceberg. # Be sure dig into the README for further usage. # Enjoy! # https://alchemists.io # ☿ 🜔 🜍 🜂 🜃 🜁 🜄