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
160
Other Decks in Programming
See All in Programming
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
110
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
0
1.4k
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
390
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
3
1k
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
1.1k
ニーリーにおけるプロダクトエンジニア
nealle
0
730
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
330
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
180
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
190
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
270
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
890
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Language of Interfaces
destraynor
158
25k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Building Adaptive Systems
keathley
43
2.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
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