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
Doerge

Doerge

Using:

ZSH_THEME="agnoster"
[...]
FZF_BASE="/opt/homebrew/Cellar/fzf/0.54.3/"
[...]
plugins=(git fzf zsh-syntax-highlighting zsh-autosuggestions)
[...]
# zsh VIM
source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zs

I used to have a bunch more, but found that too many slows down startup/break stuff.

dimitarvp

dimitarvp

Same, plus oh-my-zsh and a few of its plugins. And it already feels like too much.

Where Next?

Popular in Dev Env & Tools Top

Nezteb
I frequently switch between ElixirLS, Lexical, and Next LS in order to test each out and compare/contrast. I decided to create a brief fe...
New
pjbs
Mechanical? Which Cherry switch? Which layout? TenKeyLess?
704 21107 332
New
mhanberg
Hi y’all! I have started a dedicated Elixir plugin for Neovim. It is still early days, but please check it! GitHub - elixir-tools/elixir...
New
xiaoqiang
These past few days, I’ve tried switching from Neovim to Helix, and so far the experience has been great. Compared to neovim, which requi...
New
BartOtten
How do you all enter the pipe operator |> on your keyboard? I keep having troubles with it :frowning:
New
DaAnalyst
Exactly. A bit off topic, but I think the issue with the machines is they don’t bear any consequences. And even if they did one day, the...
New
ricksonoliveira
Hey folks, I have been looking for an alternative to good old VsCode for a while. Have tried some vim and emacs editors with their plugi...
New
SyntaxSorcerer
I found Elixir after a friend recommended looking into it for developing a multi-agent orchestration and task management system. Soon aft...
New
sodapopcan
I get the impression that the Elixir community at large is using nvim, though it occurred to me that I don’t actually know this so I thou...
New
AstonJ
With AI being a hot topic in the mainstream right now and with our industry at its helm (so making us the people who might be able to do...
#ai
New

Other popular topics Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New

We're in Beta

About us Mission Statement