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
60
WTM IWD 2024 - Friendly shell environment setup
Karn Wong
March 16, 2024
Tweet
Share
More Decks by Karn Wong
See All by Karn Wong
{{Ops}Ver.se - Infrastructure as Code and Business Values
kahnwong
0
57
BKK.JS #23 - Intro to WASM
kahnwong
0
18
FossAsia 2025 - Take Control of Your Own Data via Self-Hosting Through Open Source Software
kahnwong
0
71
Technologista 2024 - Rust for Data - What Works and What Doesn't
kahnwong
0
160
HashiCorp User Group Thailand Meetup - Self-hosting Kubernetes at Home with Terraform
kahnwong
0
110
HashiCorp User Hub Thailand #2 - Simplify Proxmox VM Management with Terraform
kahnwong
0
99
Python Developer Day Thailand 2024 - How to Bootstrap a Python Project
kahnwong
0
150
GitHub Universe After Party Thailand 2023 - Faster deployments with multi-stage build caching
kahnwong
0
72
Database Query Optimization
kahnwong
0
35
Other Decks in Technology
See All in Technology
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
帳票Vibe Coding
terurou
0
140
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.6k
MySQL HeatWave:サービス概要のご紹介
oracle4engineer
PRO
4
1.7k
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
3
730
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
110
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
340
ソフトウェア エンジニアとしての 姿勢と心構え
recruitengineers
PRO
5
1.5k
浸透しなさいRFC 5322&7208
hinono
0
120
LLM時代の検索とコンテキストエンジニアリング
shibuiwilliam
2
1.1k
Understanding Go GC #coefl_go_jp
bengo4com
0
1.1k
コスト削減の基本の「キ」~ コスト消費3大リソースへの対策 ~
smt7174
2
180
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Fireside Chat
paigeccino
39
3.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
GraphQLとの向き合い方2022年版
quramy
49
14k
Into the Great Unknown - MozCon
thekraken
40
2k
Why Our Code Smells
bkeepers
PRO
338
57k
Producing Creativity
orderedlist
PRO
347
40k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
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