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
頑張らないzsh環境
Search
cottondesu
April 22, 2018
Technology
0
430
頑張らないzsh環境
いかに頑張らずにzsh環境を作る方法紹介しています
cottondesu
April 22, 2018
Tweet
Share
More Decks by cottondesu
See All by cottondesu
ヨシケイの取り忘れ対策した / Measures were taken to prevent forgetting to pick up Yoshikei
cottondesu
0
68
開発環境公開ハード編 / Development environment public hardware version
cottondesu
0
120
開発環境公開ソフト編 / Development environment public software edition
cottondesu
0
110
正規表現で心が折れた/Regular expressions broke my heart
cottondesu
0
130
オレオレGASからMakeへの移行を検討してみた / Considering the transition from Ore Ore GAS to Make
cottondesu
0
500
Kanazawa.rb 10周年KPT / Kanazawa.rb 10th Anniversary KPT
cottondesu
0
620
Kanazawa.rb 9周年KPT / Kanazawa.rb 9th Anniversary KPT
cottondesu
0
390
Mac Book Proのバッテリー交換してみた / I replaced the battery in my Mac Book Pro.
cottondesu
0
510
みんなのCSIRTコミュニティ紹介 / Everyone's CSIRT community introduction
cottondesu
0
410
Other Decks in Technology
See All in Technology
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
5.5k
Microsoft の SSE の現在地
skmkzyk
0
300
Terraform にコントリビュートしていたら Azure のコストをやらかした話 / How I Messed Up Azure Costs While Contributing to Terraform
nnstt1
1
450
LINE 購物幕後推手
line_developers_tw
PRO
0
430
エンジニアリングで組織のアウトカムを最速で最大化する!
ham0215
1
300
Ninno LT
kawaguti
PRO
1
110
newmo の創業を支える Software Architecture と Platform Engineering
110y
1
360
DjangoCon Europe 2025 Keynote - Django for Data Science
wsvincent
0
530
MCPが変えるAIとの協働
knishioka
1
150
Part1 GitHubってなんだろう?その1
tomokusaba
3
740
Global Azure2025(GitHub Copilot ハンズオン)
tomokusaba
2
720
問 1:以下のコンパイラを証明せよ(予告編) #kernelvm / Kernel VM Study Kansai 11th
ytaka23
3
480
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
523
40k
Writing Fast Ruby
sferik
628
61k
Become a Pro
speakerdeck
PRO
28
5.3k
Six Lessons from altMBA
skipperchong
28
3.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
790
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
The Cult of Friendly URLs
andyhume
78
6.3k
Transcript
2018年04月15日 kanazawa.rb meetup#68 ؤுΒͳ͍[TIڥ
!DPUUPO@EFTV ΏΔͬͱ;ΘͬͱอकΤϯδχΞ ׂ৽ن։ൃ ׂอक ػೳՃɺػೳमਖ਼ɺόάमਖ਼ FUD
[TIͱʁ
[TI • ಡΈํʮ͡ʔ͐͠Δʯ • UnixͷίϚϯυγΣϧͷ1ͭ • Bourne ShellΛϕʔεͱ͠ɼkshɼcshʢtcshʣɼ bashͷ༏ΕͨػೳΛऔΓࠐΜͩγΣϧ •
ߴػೳɾଟػೳͳγΣϧͷͨΊɺશ༰Λ ௫Ήͷ͕ࠔ
PINZ[TIͱʁ
PINZ[TI • zsh ͷઃఆΛཧ͢ΔϑϨʔϜϫʔΫ • ίϛϡχςΟओಋ։ൃ • ଟ͘ͷςʔϚ • ଟ͘ͷϓϩϯϓτ
• ଟ͘ͷϓϥάΠϯ • ࣗಈΞοϓσʔτػೳ • ͍Ζ͍Ζͱઃఆ
ͬ͘͞ͱڥ࡞Γ
࠷৽൛Homebrew ͰΠϯετʔϧ [TIΠϯετʔϧ MacOSͷ߹ɺඪ४Πϯεʔϧࡁ λʔϛφϧ͔ΒҎԼΛ࣮ߦ zsh brew install zsh
# List of acceptable shells for chpass(1). # Ftpd will
not allow users to connect who are not using # one of these shells. /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh /usr/local/bin/zsh #Ճ /etc/shellsͷ֬ೝɺฤू ࣗͰ༻ҙͨ͠γΣϧʹมߋ͍ͨ͠߹ඌʹՃ͢Δ ϩάΠϯγΣϧมߋ ϩάΠϯγΣϧͷมߋ chsh -s /usr/local/bin/zsh
ϩάΠϯγΣϧ͕ [TIʹมΘΓ·ͨ͠
PINZ[TIΠϯετʔϧ λʔϛφϧ͔ΒҎԼΛ࣮ߦ(ެࣜαΠτΑΓ) sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/ oh-my-zsh/master/tools/install.sh)"
λʔϛφϧ͕ ੜ·ΕมΘΓ·ͨ͠
σϑΥϧτͰgitίϚϯυͷิઃఆࡁ ίϚϯυ + tabΩʔͰิػೳ σϑΥϧτ
σϑΥϧτ ΧϨϯτσΟϨΫτϦʹgitϨϙδτϦ͕ ͋Δ߹ɺϒϥϯν໊Λදࣔ͢Δ
σϑΥϧτ σϑΥϧτͷςʔϚͷදࣔ
ςʔϚมߋ ࢼ͠ʹςʔϚΛ[kolo]ʹมߋ git add͍ͯ͠ͳ͍ଘࡏ git add͍ͯ͠Δଘࡏ͕ύοͱݟͰ͔Δ