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
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
110
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
550
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
kargoの魅力について伝える
magisystem0408
0
210
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
480
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
270
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
840
ハイテク休憩
sat
PRO
2
150
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Designing for humans not robots
tammielis
250
25k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Docker and Python
trallard
42
3.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
A Tale of Four Properties
chriscoyier
157
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
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Λ͍ͬͯΔͷͰͦͷӨ ڹେ͖ͦ͏