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
5
WTM IWD 2024 - Friendly shell environment setup
Karn Wong
March 16, 2024
Tweet
Share
More Decks by Karn Wong
See All by Karn Wong
Python Developer Day Thailand 2024 - How to Bootstrap a Python Project
kahnwong
0
5
GitHub Universe After Party Thailand 2023 - Faster deployments with multi-stage build caching
kahnwong
0
5
Database Query Optimization
kahnwong
0
2
Grill the data 2022 - The unsung hero behind Bestimate: data platform
kahnwong
0
9
Intro to spatial data
kahnwong
0
3
Other Decks in Technology
See All in Technology
.NET Profiler in 2024.
kkamegawa
2
2.2k
個人のAWSアカウントをマルチ運用してみた
miura55
2
230
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
360
M5stackで使用できるpHセンサの開発
shinrinakamura
0
230
今さら聞けないDocker入門 〜 Dockerfileのベストプラクティス編
devops_vtj
21
6k
さらばあのボタンとは言わせない SORACOM LTE-M Button powerd by AWSをまだ使えるようにした(前編?)
miura55
0
100
[2024/04/23]tbls活用事例 〜 ビューポイントから データベースを整理してみた話 〜
tosite
0
110
コードや知識を組み込む / Incorporate Code and knowledge
ks91
PRO
0
150
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Musicを例に~
otanet
0
320
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
1
1.8k
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
430
生産性向上チームの紹介
cybozuinsideout
PRO
1
960
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Side Projects
sachag
451
41k
Building Applications with DynamoDB
mza
88
5.6k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
GraphQLの誤解/rethinking-graphql
sonatard
56
9.3k
YesSQL, Process and Tooling at Scale
rocio
165
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Statistics for Hackers
jakevdp
790
220k
Docker and Python
trallard
35
2.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
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