Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Shell環境の初手
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yumechi(Motoki Hirao)
June 14, 2023
Programming
250
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Shell環境の初手
何かのLTに出そうとして発表できなかったものだと思うんですが、せっかくなので公開しておきます。
yumechi(Motoki Hirao)
June 14, 2023
More Decks by yumechi(Motoki Hirao)
See All by yumechi(Motoki Hirao)
おれおれサービスをいっぱいつくろう
yumechi
0
140
ブログ用の記事投稿数 可視化の仕組みを作る
yumechi
0
110
2026年 エンジニアリング自己学習法
yumechi
0
260
PyCon mini Shizuoka 2026 ご紹介
yumechi
0
91
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
250
異夢同船 読んできました!
yumechi
0
350
地方カンファレンスのスタッフしてて思うこと
yumechi
0
290
2025年半忘年会ふりかえり
yumechi
0
120
業務で使える一歩進んだPython使いになるために / To become an advanced user of Python that can be used at work
yumechi
13
14k
Other Decks in Programming
See All in Programming
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
290
Heart of Swift Concurrency
koher
0
1.1k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
310
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.2k
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
5.6k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
260
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
1k
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
290
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
A better future with KSS
kneath
240
18k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Producing Creativity
orderedlist
PRO
348
41k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
750
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Leo the Paperboy
mayatellez
10
2.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
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/