$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ターミナルtips
Search
ゆうきゃん
February 20, 2021
Programming
0
100
ターミナルtips
ゆうきゃん
February 20, 2021
Tweet
Share
More Decks by ゆうきゃん
See All by ゆうきゃん
Svelte Todo アプリハンズオン資料
ucan_lab
0
53
開発体験を爆上げするLaravel Dacapo マイグレーションサポートツールのススメ
ucan_lab
0
1.4k
モテるコードの書き方
ucan_lab
0
260
momochanにも分かるPSR講座
ucan_lab
0
50
ゆうきゃんどっかー のススメ In #TechCafe
ucan_lab
2
260
Laravel Dacapo 2019-09-06 YYPHP 99
ucan_lab
0
270
Laravel + Docker 環境構築ハンズオン
ucan_lab
2
490
Laravel+GraphQL 良かったこと 困ったこと 悲しかったこと
ucan_lab
2
770
バージョン管理ツールについて振り返り
ucan_lab
0
77
Other Decks in Programming
See All in Programming
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
150
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.3k
Cap'n Webについて
yusukebe
0
140
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
740
AIコーディングエージェント(Manus)
kondai24
0
200
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
400
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
150
俺流レスポンシブコーディング 2025
tak_dcxi
14
9.1k
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
380
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
870
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
510
FluorTracer / RayTracingCamp11
kugimasa
0
240
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Technical Leadership for Architectural Decision Making
baasie
0
180
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
46
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Designing Experiences People Love
moore
143
24k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Typedesign – Prime Four
hannesfritz
42
2.9k
Balancing Empowerment & Direction
lara
5
810
Transcript
λʔϛφϧtips @ucan_lab
ࣗݾհ • ࢲ͕Ώ͏͖ΌΜͰ͢ɻ
λʔϛφϧهࣄΛॻ͍ͯ·͢😎
λʔϛφϧͱ🤔
λʔϛφϧΞϓϦͷछྨ😼 • λʔϛφϧ.app(Macඪ४) • Alacritty • Hyper • iTerm2
γΣϧͱ🤔 • λʔϛφϧ͔Βૢ࡞Λड • ରԠ͢Δಈ࡞ΛOSΧʔωϧʹࢦࣔ • ࣮ߦ݁ՌΛը໘ʹग़ྗ
γΣϧͷछྨ😼 • bash • zsh • fi sh • ash
λʔϛφϧͱγΣϧͷؔ
ϓϩϯϓτͱ🤔 • prompt(ଅ͢) • ίϯϐϡʔλ͕ೖྗͪͷঢ়ଶΛࣔ͢ εΫϦʔϯ্ͷγϯϘϧͷ͜ͱ ʢʮ$ʯʮ%ʯʮ>ʯͳͲ͕ଟ͍ʣ
ϓϩϯϓτΛΦγϟϨ͠Α͏✨ • https://starship.rs
starshipΛಋೖͯ͠Έͨ👍
zshΛ͓͏ʂ • ଞͷͯ͢ͷγΣϧͷػೳΛ࣋ͭ • ~/.zshrc ͕ઃఆϑΝΠϧ • macOS Catalina ͔ΒσϑΥϧτγΣϧ
• ΊͬͪΌΧελϚΠζͰ͖Δ
zshࣗಈαδΣετػೳ • zsh-autosuggestions
tips
cd # ϗʔϜσΟϨΫτϦҠಈ $ cd ~ # νϧμΛ͚ͳͯ͘ҠಈͰ͖Δ $ cd
alias # ͍ίϚϯυͳͲʹผ໊Λ͚Δ $ alias ll='ls -l' $ alias la='ls
-al' $ alias l1='ls -1' $ alias dc='docker-compose' # ~/.zshrc ʹॻ͍͓ͯ͘ͱྑ͍
source # γΣϧͷઃఆΛөͤ͞Δ $ source ~/.zshrc # υοτͰಉ͜͡ͱʹͳΔ $ .
~/.zshrc
ˈ_ # γΣϧͷઃఆΛөͤ͞Δ $ mkdir -p ./foo/bar/hoge $ cd $_
# ্هͷίϚϯυͱಉ͡ $ mkdir -p ./foo/bar/hoge $ cd ./foo/bar/hoge
; ͱ && # 1ͭͷίϚϯυͰෳͷίϚϯυΛ࣮ߦ $ command_1; command_2 # લͷίϚϯυ͕ޭͨ͠߹ʹͷΈ
# ࣍ͷίϚϯυΛ࣮ߦ $ command_1 && command_2
ϑΝΠϧΛۭʹ͢Δ $ > sample.txt control + c Ͱڧ੍ऴྃ͢Δ (จࣈೖྗͰ͖Δ) #
্هͷίϚϯυͱಉ͡Ͱ͢ $ rm -f sample.txt $ touch sample.txt
γΣϧΛ࠶ىಈ͢Δ # ઃఆϑΝΠϧͳͲΛಡΈ͍ͨ࣌͠ $ exec $SHELL -l # ΤΠϦΞε͚Δͱศར $
alias relogin='exec $SHELL -l'
ΧϨϯτσΟϨΫτϦΛFinder Ͱ։͘ $ open . # ΤΠϦΞε͚Δͱศར $ alias f='open
.'
FinderͰ։͍ͯΔσΟϨΫτϦcd $ cdf ࣗ࡞ͨ͠ίϚϯυ
RustCLIπʔϧ
exa ls ͷ্ҐޓɺGitͷεςʔλεදࣔ $ exa --time-style=long-iso -g $ exa --time-style=long-iso
-hgl --git $ exa --time-style=long-iso -ahgl --git $ exa -1 $ exa -T --git-ignore Ϛδݟ͍͢
bat cat ͷ্ҐޓɺsyntaxϋΠϥΠτ $ bat sample.txt # tabɺεϖʔεɺվߦίʔυදࣔ $ bat
-A sample.txt Ϛδݟ͍͢
fd fi nd ͷ্Ґޓ $ fd [Ωʔϫʔυ] [Φϓγϣϯ] Ϛδศར
ripgrep grep ͷ্Ґޓ $ rg [Ωʔϫʔυ] [Φϓγϣϯ] Ϛδศར͗͢
gitui Git TUIπʔϧ(lazygit, tigΑΓߴ) $ lazygit ͜Εͳ͠Ͱੜ͖͍͚ͯͳ͍
zoxide cd ͷ্Ґޓ $ z [σΟϨΫτϦ໊] σΟϨΫτϦ໊͚ͩͰҠಈͰ͖Δɻ ࠍΕΔɻ
tealdeer man ͷ্Ґޓ $ tldr [ίϚϯυ໊] ϚδλεΧϧ
skim fuzzy fi nder(fzf, peco, percol, fzy, hstr) $ sk
Ϧετ͔ΒҰக͢ΔจࣈΛߜΓࠐΈ͢Δ (͍͋·͍ݕࡧతͳ)
delta diff, colordiff ͷ্Ґޓ $ delta [ίϚϯυ໊] ϚδλεΧϧ
ࢀߟ • https://wonderwall.hatenablog.com/entry/ rust-command-line-tools
͓͠·͍