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
Shell環境の初手
Search
yumechi(Motoki Hirao)
June 14, 2023
Programming
1
220
Shell環境の初手
何かのLTに出そうとして発表できなかったものだと思うんですが、せっかくなので公開しておきます。
yumechi(Motoki Hirao)
June 14, 2023
Tweet
Share
More Decks by yumechi(Motoki Hirao)
See All by yumechi(Motoki Hirao)
2026年 エンジニアリング自己学習法
yumechi
0
170
PyCon mini Shizuoka 2026 ご紹介
yumechi
0
43
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
200
異夢同船 読んできました!
yumechi
0
290
地方カンファレンスのスタッフしてて思うこと
yumechi
0
180
2025年半忘年会ふりかえり
yumechi
0
61
業務で使える一歩進んだPython使いになるために / To become an advanced user of Python that can be used at work
yumechi
13
14k
LTの裏技
yumechi
2
1.5k
やがてカンファレンス登壇者になる
yumechi
1
340
Other Decks in Programming
See All in Programming
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
1k
TipKitTips
ktcryomm
0
150
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
480
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
510
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
150
株式会社 Sun terras カンパニーデック
sunterras
0
2k
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
460
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
360
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
120
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.6k
浮動小数の比較について
kishikawakatsumi
0
370
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
200
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
180
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
200
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Are puppies a ranking factor?
jonoalderson
1
3.1k
Utilizing Notion as your number one productivity tool
mfonobong
4
240
Making Projects Easy
brettharned
120
6.6k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
280
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Statistics for Hackers
jakevdp
799
230k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
190
Transcript
Shell環境の初手 @__yumechi
twitter: @__yumechi 自己紹介 • 関東にいるPHPerで、開発兼スクラムマスター • Splatoon 3をやっている場合ではないが、やっている • Cluster
は初めてだと思う、多分…(いろいろアップデートされてからは入ったことな いかも) • twitter: @__yumechi
twitter: @__yumechi Shellと私 • パソコンが重いなと思ってからexplorerなりFinderを開かない生活を始めてしまっ た ◦ 高校~大学1年生のころからそんな生活をしている ◦
画像やPDFとかビジュアルで探したいとき以外は大体 terminalなりcmdで生活 • terminalが身近な生活 ◦ bash試したり、zsh試したり…
まあ、なんか エンジニアになったし Shellに慣れたよね
yumechiさん! Shell教えてください
そっすね
(ただし、zshしか よくわからんです)
twitter: @__yumechi よく聞かれることとして 設定回り どうしたらいいの? なんか入れたほうが いいものってある?
twitter: @__yumechi よく聞かれることとして 設定回り どうしたらいいの? なんか入れたほうが いいものってある?
twitter: @__yumechi まあ、いろいろな設定がある • https://zsh.sourceforge.io/Doc/Release/index.html#Top とかに全部乗ってそう な気はする • ~/.zshrc にいろいろ設定を書いていく
◦ HISTSIZE で履歴数の設定を変更して … ◦ etc…
覚えられん! 覚えられるわけ もない!!!
twitter: @__yumechi よさげなのをまずパクってくる • 自分が一番最初に設定を真似したのは少し凝った zshrc ◦ https://gist.github.com/mollifier/4979906 • 他にもいくつかQiitaなどで公開されているものがあるので探す
• 似た設定とか探してきてコピーして持ってくる • とりあえず初手として… ◦ 履歴数は大きくしたほうがいいよ! ◦ historyの共有である setopt share_history は入れたほうがいい
twitter: @__yumechi gitの設定も同様にパクろう • aliasセットしておくと便利 ◦ https://qiita.com/peccul/items/90dd469e2f72babbc106 ◦ 古めの記事だけど、今も結構使える
• config 周りもコピペでカバー
twitter: @__yumechi よく聞かれることとして 設定回り どうしたらいいの? なんか入れたほうが いいものってある?
twitter: @__yumechi Macなら • まあ HomeBrew… ◦ パッケージマネージャー ◦
https://brew.sh/ • Linuxでも LinuxBrew なるものがあるらしいけど、なんかバグってる話をちょいちょ い聞いており自分は使ってない • とりあえずあると便利なコマンド ◦ jq https://github.com/stedolan/jq ◦ rg https://github.com/BurntSushi/ripgrep
twitter: @__yumechi Linuxなら • 言語環境の管理、asdfが便利 ◦ https://asdf-vm.com/ ◦ 大体使いそうな言語環境、メジャーなツールをバージョン指定でインストール可能
◦ (Rustなどは相性が悪いのでよくないが) anyenv 的なものがいらなくなる ] ◦ Macだとbrewで入れたasdfの解決パスがバグって微妙だった。。。
twitter: @__yumechi 他にもRust製のコマンドたちは便利 • このあたりまとまってるサイトを参考に… ◦ https://wonderwall.hatenablog.com/entry/rust-command-line-tools • おすすめはこのあたり ◦
rg https://github.com/BurntSushi/ripgrep ◦ bat https://github.com/sharkdp/bat ◦ exa https://github.com/ogham/exa ◦ delta https://github.com/dandavison/delta ◦ xsv https://github.com/BurntSushi/xsv
twitter: @__yumechi まとめ • 初手はとりあえず設定パクりまくろうを教える • パッケージマネージャはいい感じに導入しよう • Rust製のコマンドツールいいの多いので、ぜひ活用していこう
twitter: @__yumechi 利用情報 • スライド作成: Google Slide https://www.google.com/slides/about/ • フォント:
Noto Sans https://fonts.google.com/noto/specimen/Noto+Sans • 利用画像 ◦ フリーイラスト素材集|ちょうどいいイラスト https://tyoudoii-illust.com/ ◦ Loose Drawing | 無料で商用利用可なフリーイラスト https://loosedrawing.com/ ◦ shigureni free illust │ 素朴で可愛い、女の子のイラスト素材サイト https://www.shigureni.com/ ◦ 商用可・フリーイラスト素材|ソコスト https://soco-st.com/