Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Customizing Your Shell With Dotfiles
Search
Clayton Parker
May 21, 2020
Technology
0
23
Customizing Your Shell With Dotfiles
An introduction to configuring and managing your dotfiles
Clayton Parker
May 21, 2020
Tweet
Share
More Decks by Clayton Parker
See All by Clayton Parker
Exploring Code with Pry!
claytron
0
36
So You Think You Can PDB?
claytron
0
99
What's New in Buildout?
claytron
0
34
Other Decks in Technology
See All in Technology
LLM時代にデータエンジニアの役割はどう変わるか?
ikkimiyazaki
4
920
Trust as Infrastructure
bcantrill
0
350
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
7
3.7k
pprof vs runtime/trace (FlightRecorder)
task4233
0
170
KMP の Swift export
kokihirokawa
0
340
M5製品で作るポン置きセルラー対応カメラ
sayacom
0
160
後進育成のしくじり〜任せるスキルとリーダーシップの両立〜
matsu0228
7
2.8k
社内報はAIにやらせよう / Let AI handle the company newsletter
saka2jp
7
980
How to achieve interoperable digital identity across Asian countries
fujie
0
120
about #74462 go/token#FileSet
tomtwinkle
1
420
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
970
許しとアジャイル
jnuank
1
130
Featured
See All Featured
A Tale of Four Properties
chriscoyier
160
23k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
RailsConf 2023
tenderlove
30
1.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
189
55k
Optimizing for Happiness
mojombo
379
70k
BBQ
matthewcrist
89
9.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
A better future with KSS
kneath
239
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Rails Girls Zürich Keynote
gr2m
95
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
Transcript
Customizing Your Shell with Dot les FayettePy Meetup | 05.2020
| Clayton Parker
Who Am I? @claytron on the internets and IRL My
dotfiles
Why? Make life easier†, save settings, personalize your shell †as
long as you don't obsess about it too much!
Examples
Vanilla macOS terminal
Customized Kitty terminal, running tmux, with customized prompt, theme, fonts
and aliases
Writing this presentation in vim on Linux running i3 window
manager
Pick A Shell Bash (widely available standard), ZSH (superset of
Bash) Fish (newer generation with more advanced defaults) Other more esoteric options which might have less community support
Start Con guring If you do something repetitively, add to
your dotfiles
Stock ls with no customization % ls images remark.html slides.md
Manually specify the switches to get more information % ls
-alhF total 24K drwxr-xr-x 4 clayton clayton 4.0K May 21 16:55 ./ drwxrwxr-x 3 clayton clayton 4.0K May 20 13:47 ../ drwxrwxr-x 8 clayton clayton 4.0K May 21 16:55 .git/ drwxr-xr-x 2 clayton clayton 4.0K May 21 16:46 images/ -rw-rw-r-- 1 clayton clayton 1.5K May 21 14:44 remark.html -rw-rw-r-- 1 clayton clayton 2.1K May 21 16:55 slides.md
Add an alias and load the changes (or restart your
terminal) % vim ~/.zshrc alias ll="ls -alhF" % source ~/.zshrc
Now you don't need to always specify the switches %
ll total 24K drwxr-xr-x 4 clayton clayton 4.0K May 21 16:55 ./ drwxrwxr-x 3 clayton clayton 4.0K May 20 13:47 ../ drwxrwxr-x 8 clayton clayton 4.0K May 21 16:55 .git/ drwxr-xr-x 2 clayton clayton 4.0K May 21 16:46 images/ -rw-rw-r-- 1 clayton clayton 1.5K May 21 14:44 remark.html -rw-rw-r-- 1 clayton clayton 2.1K May 21 16:55 slides.md
What Next? Simple changes are easy, where do we go
from here
Con g Frameworks Use community driven tools like Oh My
Zsh, Bash-it or YADR
Multiple Machines Solutions for distributing your dotfiles
Minimal solution Git + bash script Simplicity and learning all
the things, but no advanced features without writing them all
Dot le manager Plethora of options including yadm, dotbot and
rcm Lots of features and updates but with the potential cost of dependencies, updating woes and overhead
Not Just Your Shell REPL, Readline, VCS, Editors, Operating Systems,
Tiling Window Managers, etc.
Links My Dotfiles GitHub Dotfiles Awesome Dotfiles yadm and Homeschick
Walkthrough Tons of awesome dotfiles repos on GitHub to find inspiration from, just search for the file you are trying to customize