Mô tả

Our Macs* are littered with hidden "dotfiles" which maintain system and application configuration information. In this course, we will:

  • learn exactly what "dotfiles" are,

  • backup these files in a Git repository,

  • start using tools to automate the bootstrapping process,

  • use Homebrew so our application installs are recorded in a remote repository,

  • learn many things about our shell, including Redirection, Standard Input / Output / Error, File Descriptors, HereDoc / HereWord, Error Codes, and more.

  • and see now Node, NPM, and Yarn fit into our Dotfiles setup (an exercise that will be similar to setting up Ruby, Java, etc.)

Along the way, we will learn how to use the Command Line and several related tools. We will start customizing our shell (with aliases, functions, variables, etc.) and replace built-in tools with projects from the open source community that improve our shell experience. Each step we take will be tied back into the larger Dotfiles concept and recorded in our repository.

This subject is big and I have many more hours of content that I'd like to create. In addition to what's currently available, I'm hoping to make two more installments; Part 2 would be about ZSH and Part 3 would be where we put it all together by restoring our setup on a new OS. As new content will likely come with price increases, now is the time to enroll. But whether I can continue adding material depends on the success of the current material, so please help get the word out.

* All the work in this course is done on macOS. Much of the content will be relevant to those on Unix-like systems, and less so on Windows systems.

Bạn sẽ học được gì

Saving software and system configuration in a "Dotfiles" Git repository for an upcoming computer restoration.

Installing software in an automatable and idempotent fashion with Homebrew.

Use of various pre-installed and new command line tools, including bat, exa, git, httpie, ls, man, and more.

An introduction to a handful of applications (including VS Code, Alfred, Dropbox, GitKraken, and Snappy) and how they relate to Dotfiles.

Intermediate use of Git and GitHub in the command line and in the applications, VS Code and GitKraken.

Yêu cầu

  • General use of macOS
  • A GitHub account and some Git experience

Nội dung khoá học

7 sections

Course Introduction

1 lectures
Course Introduction
04:31

Introduction to Dotfiles

9 lectures
What is a Dotfile?
06:57
Changing Shells to ZSH
09:00
Why do we care?
04:56
A Look at dotfiles.github.io
04:03
Our First Dotfile (.zshrc)
08:40
Create an Alias
04:35
Customize the Prompt
06:46
Write a Function
04:07
Introduction Section Conclusion
01:57

Git & Symlinks

13 lectures
Install Command Line Tools
03:52
Configure Git with a Private "no-reply" Email Address
04:00
Set Up SSH Part 1
05:10
Set Up SSH Part 2
04:09
Set Up SSH Part 3
03:58
Create and Clone GitHub Repository
03:33
Change, Commit, and Push Code
04:05
Move and symlink .zshrc
07:55
Setup Dotbot
07:38
Symlink with Dotbot
07:01
Run Shell Scripts with Dotbot
07:57
Git & Symlinks Section Conclusion
02:35
Submit Pull Request to Show and Tell Repository
6 questions

Homebrew

26 lectures
Install Homebrew
06:28
Create a Branch in Git
03:02
Install Packages with Homebrew Part 1 (httpie)
04:48
Install Packages with Homebrew Part 2 (bat)
05:02
Review Package Installations
03:49
Review Homebrew Installation
04:48
New Tools and the Homebrew Installation Command
07:14
Install Applications with Homebrew Part 1 (Google Chrome)
06:02
Install Applications with Homebrew Part 2 (VS Code)
04:20
Reinstall Code Binary with GUI
04:18
Add Code Binary to $PATH Variable
05:51
Create Github Issue About Conflicting Commands
06:35
What is the Heredoc?
07:45
Install Homebrew with Dotbot
07:06
Disable Gatekeeper for Casks
03:57
Switch to Brewfile Part 1
08:59
Switch to Brewfile Part 2
06:48
Play with exa
06:17
Play with Dropbox and Alfred Part 1
04:33
Play with Dropbox and Alfred Part 2
04:11
Play with Dropbox and Alfred Part 3
02:38
Install from App Store with mas-cli Part 1
06:43
Install from App Store with mas-cli Part 2
05:36
Homebrew Section Conclusion
07:27
Upgrading Software with Homebrew
03:41
Installing Niche Software
05:36

Cultivate Skills

34 lectures
Create "Cultivate Skills" Branch
01:29
Symlink Directories with Dotbot
05:40
Map Syntaxes with bat
03:19
Link a Commit to a GitHub Issue
02:21
Add exists() Function to zshrc
04:05
Interactive vs. Non-Interactive Shells
03:25
Move exists() Function to zshenv
02:45
Prevent Superfluous Installs with exists() Function
02:49
What is a shebang? (Part 1)
05:59
What is a shebang? (Part 2)
04:57
exists() Part 1: `command -v`, an Alternative to `which`
02:51
exists() Part 2: Shell Function Arguments
01:36
exists() Part 3: Redirecting Standard Output
02:29
exists() Part 4: /dev/null
02:20
exists() Part 5: File Descriptors
02:06
exists() Part 6: Redirecting Standard Error
02:11
exists() Part 7: `&1` and Putting it Together
02:12
exists() Part 8: Exit Codes
04:09
Updating Pre-Installed Packages
06:18
Create Alias for Brew Bundle Dump
04:56
Revisit Syntax Highlighting Issue
02:35
Understanding the $PATH variable
04:17
Overriding PATH Commands with Aliases and Functions
05:19
trail Alias Part 1: Path Array & Parameter Expansion
04:56
trail Alias Part 2: Parameter Expansion Flags & hereword
05:21
Updating ZSH
06:33
Create Setup File & Try to Change Shell
04:28
Add Homebrew-Installed ZSH to Acceptable Shells
05:53
Using `tee` to Append to Files Owned by Root
09:06
Attempt to Symlink sh to Homebrew-Installed ZSH
06:16
Symlink sh to Pre-Installed ZSH
04:42
Add Conditionals to ZSH Setup File
3 questions
Link GitHub Issue to Commit Hash
03:09
Cultivate Skills Section Conclusion
06:54

Node

12 lectures
Managing Node Versions with N
07:15
Setting Up N and Installing Node
06:12
Automating N and Node with Dotbot
06:15
Install Global Packages with NPM
06:54
Everyday NPM Tools
04:30
Install Yarn (Another Package Manager)
06:58
Create Issue to Document Path Duplication Fix
04:26
Resolve Node Path Conflict
04:30
Investigate ZSH Path Duplication Solutions
04:28
Unique Arrays in ZSH
03:26
Enforcing Unique Path Locations
04:47
Node Section Conclusion
03:51

Intermission: Part 1 Conclusion

1 lectures
Part 1 Conclusion
10:36

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.