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
1
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
170
Docker: счастье для хомячка или гика?
sharipov
0
61
Rails без ActiveRecord: старая-добрая рельса или инвалид c костылями?
sharipov
0
140
Other Decks in Programming
See All in Programming
Snowflakeで眠ったデータを起こそう!
estie
0
160
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.4k
Webアプリをできるだけコードを手書きしないで作ってみる
tomokusaba
2
190
Tailwind CSSを本気でカスタマイズする方法
fsubal
15
5.6k
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
PostmanでAPIの動作確認が楽になった話
h455h1
0
190
Docker_OSS_ホスティング入門
satokoki645
0
110
Open AI APIを使う前に知っておきたいアカウントTier の話
akki_megane
0
110
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
350
Git Rebase
bkuhlmann
11
1.6k
AppRouter Panel Talk
yosuke_furukawa
PRO
1
500
Fast JSX: Don't clone props object #28768
yossydev
1
220
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
Building an army of robots
kneath
300
41k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
Visualization
eitanlees
137
14k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Music & Morning Musume
bryan
41
5.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
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