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
67
Rails без ActiveRecord: старая-добрая рельса или инвалид c костылями?
sharipov
0
150
Other Decks in Programming
See All in Programming
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.3k
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
150
ASP.NET Core の OpenAPIサポート
h455h1
0
130
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
770
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
960
CNCF Project の作者が考えている OSS の運営
utam0k
1
150
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
560
php-conference-japan-2024
tasuku43
0
440
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
7
570
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
Featured
See All Featured
Docker and Python
trallard
43
3.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Building Applications with DynamoDB
mza
93
6.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Typedesign – Prime Four
hannesfritz
40
2.5k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Designing for Performance
lara
604
68k
Building Adaptive Systems
keathley
38
2.4k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
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