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
WTM IWD 2024 - Friendly shell environment setup
Search
Karn Wong
March 16, 2024
Technology
0
25
WTM IWD 2024 - Friendly shell environment setup
Karn Wong
March 16, 2024
Tweet
Share
More Decks by Karn Wong
See All by Karn Wong
Technologista 2024 - Rust for Data - What Works and What Doesn't
kahnwong
0
60
HashiCorp User Group Thailand Meetup - Self-hosting Kubernetes at Home with Terraform
kahnwong
0
57
HashiCorp User Hub Thailand #2 - Simplify Proxmox VM Management with Terraform
kahnwong
0
48
Python Developer Day Thailand 2024 - How to Bootstrap a Python Project
kahnwong
0
94
GitHub Universe After Party Thailand 2023 - Faster deployments with multi-stage build caching
kahnwong
0
26
Database Query Optimization
kahnwong
0
18
Grill the data 2022 - The unsung hero behind Bestimate: data platform
kahnwong
0
24
Intro to spatial data
kahnwong
0
22
Other Decks in Technology
See All in Technology
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
230
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
120
地理情報データをデータベースに格納しよう~ GPUを活用した爆速データベース PG-Stromの紹介 ~
sakaik
1
150
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.3k
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
290
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
150
元旅行会社の情シス部員が教えるおすすめなre:Inventへの行き方 / What is the most efficient way to re:Invent
naospon
2
330
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
860
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Teambox: Starting and Learning
jrom
133
8.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
A designer walks into a library…
pauljervisheath
203
24k
How GitHub (no longer) Works
holman
310
140k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Happy Clients
brianwarren
98
6.7k
Gamification - CAS2011
davidbonilla
80
5k
Why Our Code Smells
bkeepers
PRO
334
57k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Transcript
Friendly shell environment setup Karn Wong Platform Engineer, Data Cafe
Thailand
A CLI nerd who loves a blinking cursor too much
Karn Wong Platform Engineer, Data Cafe Thailand https://karnwong.me
Current issues with default shell config 1. Lack of colors
2. Everything looks the same 3. Not obvious whether there is a typo or an executable doesn’t exist 4. Important information are not displayed
Bland colors, not anymore!
ls -> eza
ls -lah -> eza
cat -> bat
echo
Executable doesn’t exist
Chained command
grep
df -> duf
ps -> procs
grep -> rg
grep - for files -> fd
Markdown -> glow
git diff
And you can click in terminals!
vim -> nvchad
tmux -> zellij
Did I mention autocomplete?
Autocomplete - executables
Autocomplete - docker
Autocomplete - docker argument
Autocomplete - ssh
Autocomplete - scp
Quality of life features
Shell - autocomplete from history
Jump between directories -> zoxide
Command cheat sheet -> tldr
JSON -> fx
Important information should be displayed
Current folder
Last command’s runtime
Last command’s status
Current GCP account & project
Current AWS account & region
Current runtime version & venv
Git branch & status
Current kubernetes context & namespace
Active username & hostname (over SSH)
Words from users
Can I copy your setup?”
https://github.com/kahnwong/vm-init
None
Further actions 1. Define commonly used tools 2. Implement setup
script for teams