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
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
ハイパーパラメータチューニングって何をしているの
toridori_dev
0
140
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
複雑なState管理からの脱却
sansantech
PRO
1
140
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
Can We Measure Developer Productivity?
ewolff
1
150
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
The Rise of LLMOps
asei
7
1.4k
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
250
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
760
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
Featured
See All Featured
Building an army of robots
kneath
302
43k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Invisible Side of Design
smashingmag
298
50k
Automating Front-end Workflow
addyosmani
1366
200k
Side Projects
sachag
452
42k
We Have a Design System, Now What?
morganepeng
50
7.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Statistics for Hackers
jakevdp
796
220k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
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Λ͍ͬͯΔͷͰͦͷӨ ڹେ͖ͦ͏