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
39
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
110
HashiCorp User Group Thailand Meetup - Self-hosting Kubernetes at Home with Terraform
kahnwong
0
73
HashiCorp User Hub Thailand #2 - Simplify Proxmox VM Management with Terraform
kahnwong
0
70
Python Developer Day Thailand 2024 - How to Bootstrap a Python Project
kahnwong
0
120
GitHub Universe After Party Thailand 2023 - Faster deployments with multi-stage build caching
kahnwong
0
38
Database Query Optimization
kahnwong
0
22
Grill the data 2022 - The unsung hero behind Bestimate: data platform
kahnwong
0
42
Intro to spatial data
kahnwong
0
26
Other Decks in Technology
See All in Technology
『AWS Distinguished Engineerに学ぶ リトライの技術』 #ARC403/Marc Brooker on Try again: The tools and techniques behind resilient systems
quiver
0
140
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
530
第13回 Data-Centric AI勉強会, 画像認識におけるData-centric AI
ksaito_osx
0
360
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
110
自動テストの世界に、この5年間で起きたこと
autifyhq
10
7.3k
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
1.5k
テストアーキテクチャ設計で実現する高品質で高スピードな開発の実践 / Test Architecture Design in Practice
ropqa
3
730
モノレポ開発のエラー、誰が見る?Datadog で実現する適切なトリアージとエスカレーション
biwashi
6
770
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
12
4.6k
地方拠点で エンジニアリングマネージャーってできるの? 〜地方という制約を楽しむオーナーシップとコミュニティ作り〜
1coin
1
150
PL900試験から学ぶ Power Platform 基礎知識講座
kumikeyy
0
110
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
11
2.7k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
950
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Unsuck your backbone
ammeep
669
57k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Building Your Own Lightsaber
phodgson
104
6.2k
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