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
70
Rails без ActiveRecord: старая-добрая рельса или инвалид c костылями?
sharipov
0
170
Other Decks in Programming
See All in Programming
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
610
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
1.9k
どの様にAIエージェントと 協業すべきだったのか?
takefumiyoshii
2
620
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
640
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
1.1k
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
430
iOS 17で追加されたSubscriptionStoreView を利用して5分でサブスク実装チャレンジ
natmark
0
650
Le côté obscur des IA génératives
pascallemerrer
0
130
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
130
明日から始めるリファクタリング
ryounasso
0
120
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
640
株式会社 Sun terras カンパニーデック
sunterras
0
250
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Documentation Writing (for coders)
carmenintech
75
5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
850
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
It's Worth the Effort
3n
187
28k
The Invisible Side of Design
smashingmag
301
51k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
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