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
より良いターミナルでの生活を求めて
Search
takashabe
August 23, 2024
Technology
0
27
より良いターミナルでの生活を求めて
社内LT会で話した資料です
takashabe
August 23, 2024
Tweet
Share
More Decks by takashabe
See All by takashabe
OpenCensusでcustom context propagationとexporterを書いた話 / OpenCensus with custom context propagation and exporter
takashabe
0
1.6k
pubsub with concurrent
takashabe
1
850
社内ISUCONを開催した話
takashabe
0
1.5k
ISUCON大反省会
takashabe
0
1.8k
gitのブランチ戦略
takashabe
8
5.7k
サルでもわかるgit
takashabe
0
1.3k
playで複数DBする
takashabe
0
1.6k
MySQLで高トラフィックに立ち向かう
takashabe
0
1.8k
GitHubの良さ
takashabe
2
2.2k
Other Decks in Technology
See All in Technology
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
340
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
1
200
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
260
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
230
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
290
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
33
13k
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
3
260
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.3k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Designing Experiences People Love
moore
138
23k
Designing for humans not robots
tammielis
250
25k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
What's in a price? How to price your products and services
michaelherold
243
12k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Cost Of JavaScript in 2023
addyosmani
45
7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Transcript
ΑΓྑ͍λʔϛφϧͰͷੜ׆Λ ٻΊͯ @takashabe CastingONE inc.
$ whoami • @takashabe • https://github.com/takashabe • https://bsky.app/pro fi le/takashabe.bsky.social
• Software Engineer • Keyboard • crkbd v3 + corchim + HMX XINHAI 45g • ଧ伴ײɺଧ伴Իͱʹ࠷ߴ • HMXΛࢼ͢ͷָ͕͍͠
Agenda • ීஈͷੜ׆ελΠϧ • QOLΛ্͛ͯ͘Εͨπʔϧͷհ • ·ͱΊ
ීஈͷੜ׆ελΠϧ
ීஈͷੜ׆ελΠϧ • ࣄmacOS • Space 4ຕݻఆ • display 1 •
space 1: terminal (·Εʹvscode, zed) • space 2: ϒϥβ • display 2 • 3: obsidian, pomodoro • 4: slack, gather • ։ൃશ෦terminal • ϖΞϓϩͷͱ͖vscode, neovimյΕͨͱ͖ʹzed
QOL্ʹͭͳ͕ͬͨπʔϧ15બ
QOL্ʹͭͳ͕ͬͨऔΓΈ͋Δ͍πʔϧ15બ 1. fuzzy fi nder 2. ghr 3. z 4.
prompt 5. fi sh-shell 6. terminal multiplexer 7. gcloud con fi g con fi grations 8. history 9. history merge 10.notify long running command 11.Amazon Q (CLI completion) 12.all-in-one 13.yabai 14.skhd 15.(neo)vim
fuzzy fi nder • https://github.com/junegunn/fzf • ԿΒ͔ͷϦετΛιʔεʹͯ͠ɺ͔ͦ͜ΒબͰ͖ΔUI Λఏڙ͢Δπʔϧ • ਪ͠ϙΠϯτ
• ແݶͷՄೳੑ͕͋Δɻඇৗʹ൚༻ੑͷߴ͍֓೦ • Φεεϝ 🌟🌟🌟🌟🌟
ghq • https://github.com/x-motemen/ghq • ϦϙδτϦཧΛҰׅཧ͢ΔͨΊͷπʔϧ • ਪ͠ϙΠϯτ • Կͱͳ͘࡞ͬͯཧ͍ͯͨ͠ `~/workspace`
ͱ͔͕ΑΓ ͍͘͢ͳΔ • ghq rootԼʹશͯू͞ΕΔͨΊɺͲ͜Ͱγϡοͱ cloneͰ͖Δ • fuzzy fi nderͱͷ૬ੑൈ܈ • Φεεϝ 🌟🌟🌟🌟🌟
z • https://github.com/rupa/z • ࣮ࡍʹ fi sh-shell൛ΛͬͯΔ • https://github.com/jethrokuan/z •
cdͷཤྺΛஷΊͯɺϦετͨ͠Βδϟϯϓͨ͠ΓͰ͖Δ • ਪ͠ϙΠϯτ • σΟϨΫτϦʹඈΜͩճස͔Βྑ͍ײ͡ʹείΞ Λ͚ͯཧͯ͘͠ΕΔ • fuzzy fi nderͱͷ૬ੑൈ܈ • Φεεϝ 🌟🌟🌟🌟🌟
prompt • https://github.com/takashabe/ fi sh-pretty-theme • Έͳ͞Μ͝ଘ͡ͷPS1͍͘͡Δͭ • ͷ΄Ͳπʔϧ͕͋Δ͚Ͳɺࣗͷཉ͍͕ͭ͠ཉ ͔ͬͨ͠ͷͰࠓࣗ࡞ΛͬͯΔ
• ͠σϑΥϧτͷ··ͬͯΔਓԿ͔͠ΒͷπʔϧΛ ೖΕͯΈΔ͜ͱΛΦεεϝ͠·͢ • https://github.com/starship/starship • https://github.com/sorin-ionescu/prezto
fi sh-shell • https://github.com/ fi sh-shell/ fi sh-shell • Friendly
Interactive SHell ͷུ • POSIXޓΛࣺͯڈͬͯɺφ͍γϯλοΫεͰεΫϦϓτ ͕ॻ͚ͨΓɺ࠷ॳ͔Βิ͕ޮ͍ͨΓͯ͠ศར • man͔ΒิΛ࡞ͬͯ͘ΕΔͷͰɺݸผʹϓϥάΠϯΛೖ ΕΔඞཁ͕ͳ͍ • Φεεϝ 🌟🌟🌟 • γΣϧεΫϦϓτॻ͘ͱ͖Ͳ͏ͤBash४ڌͳͷͰɺ fi sh ͷจ๏͍ͭ·Ͱܦ֮ͬͯ͑ͳ͍
terminal multiplexer • https://github.com/tmux/tmux • λʔϛφϧΛηογϣϯɺΟϯυɺϖΠϯʹׂͯ͠ཧ͢Δ͜ ͱ͕ग़དྷΔ • λʔϛφϧ ⊃
ηογϣϯ ⊃ Οϯυ ⊃ ϖΠϯ • ਪ͠ϙΠϯτ • iTerm2ʹ͋Δλϒͱ͔ϖΠϯͱ͔ΛͲͷλʔϛφϧιϑτΣΞͰ ͑Δ • ηογϣϯλʔϛφϧ͕ऴྃͯ͠ΔͷͰɺޡͬͯλʔϛφϧ Λམͱͯ͠ΕΔ • Φεεϝ 🌟🌟🌟🌟 • ߴػೳͳλʔϛφϧιϑτΣΞΛ͏ͷͰ͋Εخ͠͞ݮ
gcloud con fi g con fi grations • https://cloud.google.com/sdk/gcloud/reference/con fi
g/ con fi gurations • ෳͷΞΧϯτɾϓϩδΣΫτΛཧͰ͖Δ • ਪ͠ϙΠϯτ • ෳͷGoogle cloudϓϩδΣΫτΛ͏ͱ͖؆୯ʹΓସ͑ Ͱ͖Δ • Φεεϝ 🌟🌟 • χονͳ༻్ͳͷͰ2 • ࣄͰίϚϯυଧͭͱ͖ࣄނࢭͷͨΊ —project ͚͕ͪ ͳͷͰɺ࣮͋Μ·Γସ͑ͳ͍
history • https://man.archlinux.org/man/history.n • ͍ΘΏΔ C-r Ͱݕࡧ͢ΔίϚϯυཤྺ • ੜ׆ඞध •
Φεεϝ 🌟🌟🌟🌟🌟
history merge • https://gist.github.com/calexandre/ 63547c8dd0e08bf693d298c503e20aab • fi sh-shellͩͱ • ਪ͠ϙΠϯτ
• tmuxͳͲΛͬͯෳͷηογϣϯΛ։͍͍ͯΔͱ͖Ͱɺཤྺ ͕ಉظͰ͖ͯศར • Φεεϝ 🌟🌟🌟🌟
notify long running command • https://github.com/marzocchi/zsh-notify • NඵҎ্͔͔ͬͨίϚϯυΛ௨ηϯλʔʹඈ͢ • fi
sh-shellͩͱ fi sh_preexec, fi sh_postexecͳͲΈ߹ Θͤͯॻ͚Δ • ਪ͠ϙΠϯτ • make test • yarn test • Φεεϝ 🌟🌟🌟🌟🌟
Amazon Q (CLI completion) • https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command- line-autocomplete.html • ੲ fi
g https:// fi g.io/ ͩͬͨͷ • ਪ͠ϙΠϯτ • ଟ͘ͷίϚϯυΛαϙʔτ͍ͯ͠ΔͷͰɺେମΧόʔ͞ΕͯΔ • fi sh-shellσϑΥϧτͰྑ͍ײ͡ʹิͯ͘͠ΕΔ͕man͕ͳ͍ͱπϥ͍ • gcloudͳͲઐ༻ͷcompletionεΫϦϓτΛϩʔυ͠ͳ͚ΕͳΒͳ ͍ • Φεεϝ 🌟🌟 • ิΟϯυ͕अຐʹͳΔ͜ͱ͕ଟ͍ • fi shͷͦΕΑΓࢹೝੑ͕ѱ͍
all-in-one • https://starship.rs/ • https://www.warp.dev/ • https://code.visualstudio.com/ • https://www.lazyvim.org/ •
͍ΘΏΔશ෦ೖΓͷπʔϧ܈ • શ෦͍Βͳ͍ʹͯ͠ϙΠϯτͰʮ͜Εศརͦ͏ʂʯΈ͍ͨͳώϯ τ͕ଟ͍ • ͱΓ͋͑ͣ࠷ॳʹ͞ΘΔͱ͖ʹΦεεϝ • ͨͩ͠ϋϚΔͱແݶʹπϥ͍ҹɻྫ͑LazyVimͷͩͱࢥͬ ͍࣮ͯͯૉͷNeovimଆͷઃఆͰͨ͠ɺͱ͔ • Φεεϝ 🌟🌟🌟🌟
yabai • https://github.com/koekeishiya/yabai • macOSͷtiling window manager • ΟϯυΛॏͶͣʹฒͯදࣔͰ͖ͨΓɺSpaceͷҠಈ͕ γϡοͱग़དྷͨΓ͢Δ
• ਪ͠ϙΠϯτ • ͍ͭͷ࡞ۀڥΛ࠶ݱ͍͢͠ • ޙड़ͷskhdΛ͏ͱجຊతʹΩʔϘʔυ͔ΒखΛ͞ͳͯ͘ ྑ͍ • Φεεϝ 🌟🌟 • Έ͕͔ΕΔ
skhd • https://github.com/koekeishiya/skhd • hotkeyΛཧ͢Δ͜ͱ͕ग़དྷΔπʔϧ • karabiner-elementsͳͲͱಉׅ͡Γ͕ͩɺઃఆϑΝΠ ϧ͕ॻ͖͍͢ • ࡞ऀ͕ಉ͡ͳͷͰɺେyabaiͱҰॹʹΘΕΔ
• Φεεϝ 🌟🌟🌟🌟
(neo)vim • https://github.com/vim/vim • https://github.com/neovim/neovim • ແݶͷՄೳੑΛൿΊͨΤσΟλ • neovimΛ͍ͬͯ·͢ •
Φεεϝ 🌟 🌟 🌟 🌟 • ͍ͭΦεεϝͯ͠ΔΤσΟλvscodeͰ͢
·ͱΊ
·ͱΊ • λʔϛφϧ(Ͱͳ͍ͷࠞͬͯ͡·͕ͨ͠)ੜ׆ͷQOL ্ʹཱͭπʔϧͷհΛ͠·ͨ͠ • ৼΓฦΔͱ͕ࣗΩʔϘʔυͰ݁Ͱ͖Δڥʹڵຯ͕͋ Δ͜ͱ͕͔Δ • Fuzzy fi
ndercompletionΊͪΌͪ͘Ό͏ • Կ͔ͩΜͩઃఆૢ࡞͖֮͑Εͳ͍͠ɺcompletion͔ Β৽ͨͳൃݟΛ͢Δ͜ͱ͋Δ • ϓϥΠϕʔτͰArchLinux + i3Λ͍ͬͯΔͷͰͦͷӨ ڹେ͖ͦ͏