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 & FISH: better "bash" for hackers
Search
Sharipov Ruslan
October 28, 2014
Programming
2
15k
ZSH & FISH: better "bash" for hackers
Sharipov Ruslan
October 28, 2014
Tweet
Share
More Decks by Sharipov Ruslan
See All by Sharipov Ruslan
Депрокрастинируем Docker: контейнеры здесь и сейчас
sharipov
0
190
Docker: счастье для хомячка или гика?
sharipov
0
69
Rails без ActiveRecord: старая-добрая рельса или инвалид c костылями?
sharipov
0
170
Other Decks in Programming
See All in Programming
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.1k
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.4k
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
7
1.1k
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
250
Namespace and Its Future
tagomoris
6
700
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
20
11k
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
160
ソフトウェアテスト徹底指南書の紹介
goyoki
1
150
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
6
2.9k
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
120
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
250
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.6k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
187
55k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Applications with DynamoDB
mza
96
6.6k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Balancing Empowerment & Direction
lara
3
610
Designing Experiences People Love
moore
142
24k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
Navigating Team Friction
lara
189
15k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Transcript
zsh & fish better “bash” for hackers
prefer CLI over IDEs, GUIs, WebUIs
we already know zsh
is zsh only about autocompletion?
features / advantages over default bash
1. Shared history between shells
1. Shared history between shells zsh: works out-of-the-box bash: needs
custom function in .bashrc any shell workaround: tmux
2. Autocorrection [nyae] cheatsheet: n - no y - yes
a - abort e - edit
3. Autocompletion
3. Autocompletion
3. Autocompletion Tons of supported commands out-of-the-box + plugins ls,
rake, kill, ssh, mount, umount, cap and much more
4. Autoexpand or never type too much!
4. Autoexpand
5. Arrow keys history search* * requires tiny ~/.zshrc configuration
* Pro-mode: https://github.com/zsh-users/zsh-history-substring-search
6. Default aliases .. aliases cd .. ~ aliases cd
~ cd.. aliases cd .. cd… aliases cd ../.. cd…. aliases cd ../../.. md aliases mkdir -p rd aliases rmdir d aliases dirs -v Remember? -bash: cd..: command not found
vi - mode
vi - mode
7. oh my zsh Open source, community-driven framework for managing
your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes, and a few things that make you shout...
7. oh my zsh 100+ themes
None
7. oh my zsh 150+ plugins
None
just 1 command to happyness: curl -L http://install.ohmyz.sh | sh
Installation
fish shell Smart and user-friendly command line shell for OS
X, Linux, and the rest of the family
fish shell
fish shell 2 killer-features: - autosuggest-as-you-type - smart tab suggestions
autosuggest-as-you-type
fish shell: autosuggestion autosuggest-as-you-type
fish shell: smart tab suggestions autosuggest-as-you-type fish parses your man
pages and generate completions
fish shell: smart tab suggestions autosuggest-as-you-type and turns any command
usage to …
fish shell: smart tab suggestions autosuggest-as-you-type
fish shell: smart tab suggestions autosuggest-as-you-type
fish shell: smart tab suggestions autosuggest-as-you-type
Questions? autosuggest-as-you-type