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
18
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
25
So You Think You Can PDB?
claytron
0
83
What's New in Buildout?
claytron
0
29
Other Decks in Technology
See All in Technology
OPENLOGI Company Profile
hr01
0
46k
LLM評価の落とし穴~開発者目線で気をつけるポイント~
rishigami
11
3.2k
PHP 9 に備えよ - 動的プロパティ、どうすればいぃ?
taisukearase
0
320
大規模言語モデル (LLM)における低精度数値表現
pfn
PRO
3
820
本当のガバクラ基礎
toru_kubota
0
320
知識と実践を紡ぐGenAI / Connecting Knowledge and experience with GenAI
aki_moon
2
180
パフォーマンス最適化のベストプラクティス
databricksjapan
0
200
株式会社EventHub・エンジニア採用資料
eventhub
0
2.1k
エムスリーマルチデバイスチーム紹介資料 / Introduction of M3 Multi Device Team
m3_engineering
1
160
使われないものを作るな!出口から作るデータ分析基盤 / Data Platform Development Starting from the User Needs
amaotone
16
4.6k
cgroup v2 で何が変わったのか / TechFeed Experts Night #28
tenforward
2
160
「できる!」を増やすGitHub Copilot活用法 / How to use GitHub Copilot to expand your possibilities
sansan_randd
1
240
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Ruby is Unlike a Banana
tanoku
96
10k
Raft: Consensus for Rubyists
vanstee
133
6.3k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Side Projects
sachag
451
41k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
Embracing the Ebb and Flow
colly
80
4.2k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Building Effective Engineering Teams - LeadDev
addyosmani
33
1.9k
Being A Developer After 40
akosma
67
580k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
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