AstonJ

AstonJ

Do you use any ZSH plugins?

I wasn’t aware ZSH has plugins until @Samjowen mentioned one in the Share an Elixir or dev-env tip a day thread!

Oh My Zsh comes bundled with plugins, which allow you to take advantage of functionality of many sorts to your shell just by enabling them. They are each documented in the README file in their respective plugins/ folder.

Enable a plugin by adding its name to the plugins array in your .zshrc file (found in the $HOME directory). For example, this enables the rails, git and ruby plugins, in that order:

plugins=(rails git ruby)

If you’re using any, which ones?

Most Liked

NobbZ

NobbZ

Zsh autocomple, zsh Syntax Highlight, fzf-tab, and p10k.

I think this really is about it.

slouchpie

slouchpie

I use the elixir and git plugins a lot. I love the gwip and gunwip aliases. My zsh theme works with them so I can see when I switch to a branch that has a WIP commit. I find it much better than git stash.

nicholasjhenry

nicholasjhenry

My plugin selection is rather slim. I use zplug instead of Oh My Zsh’s built-in plugin system. Here’s my current setup:

zshplugins via zplug:

- vi-mode (from oh-my-zsh)
- wbase.zsh + git-prompt.zsh (woefe’s git prompt)
- zsh-autosuggestions
- zsh-completions
- zsh-history-substring-search
- zsh-syntax-highlighting

The ones I use most:

  • zsh-autosuggestions - suggests commands as you type based on history
  • zsh-syntax-highlighting - highlights commands in real-time to catch typos
  • zsh-history-substring-search - searches history with partial matches (I have it bound to up/down arrows)
  • git-prompt.zsh - shows git status in the prompt

Last Post!

NobbZ

NobbZ

I used to use omz as well, though eventually it felt as if most add-ons just were some curated and opinionated aliases I didn’t use anyway, so I removed it, and managed my aliases manually from then on.

Where Next?

Popular in Dev Env & Tools Top

pjbs
Mechanical? Which Cherry switch? Which layout? TenKeyLess?
705 24408 331
New
mkunikow
SpaceVim is a community-driven vim distribution that seeks to provide layer feature, especially for neovim. It offers a variety of layers...
New
adamu
There is a thread about vim already, but I wanted to start one specifically about the language server. What configuration do people use ...
New
AstonJ
What are you using for software dev? Can you share what you like/dislike about it? Would you recommend it to others? Related thread: Ho...
New
dimitarvp
It would also be the reason for me to seriously hurt myself. :003: I’ve spent way too much time tinkering. I’ll be the first to agree th...
New
AndyL
With this week’s release, ElixirLS bundles an experimental MCP Server. (see CHANGELOG) Highlights Added Call hierarchy provider imple...
New
jpease
If it’s useful to anyone, here’s a tiny nvim plugin (jpease/hex-outdated.nvim) that shows drift between your mix.exs and packages on hex....
New

Other popular topics Top

New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New

We're in Beta

About us Mission Statement