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
25
より良いターミナルでの生活を求めて
社内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.5k
pubsub with concurrent
takashabe
1
840
社内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.7k
GitHubの良さ
takashabe
2
2.2k
Other Decks in Technology
See All in Technology
The Rise of LLMOps
asei
7
1.7k
Can We Measure Developer Productivity?
ewolff
1
150
Engineer Career Talk
lycorp_recruit_jp
0
190
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
430
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
We Have a Design System, Now What?
morganepeng
50
7.2k
The Language of Interfaces
destraynor
154
24k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Practical Orchestrator
shlominoach
186
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
420
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
GraphQLとの向き合い方2022年版
quramy
43
13k
RailsConf 2023
tenderlove
29
900
Automating Front-end Workflow
addyosmani
1366
200k
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Λ͍ͬͯΔͷͰͦͷӨ ڹେ͖ͦ͏