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

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
aziz
I’m happy to finally present to you the best Sublime Text package for Elixir, templates and more! :partying_face: :confetti_ball: Elixi...
New
New
DaAnalyst
Note: Not a strictly Elixir question but relates to us as well. A year or so ago I asked Grok (or ChatGPT, can’t remember) what would ha...
New
plcholder
I know alot of people hate the concept of vibe coding & ive tried it with several languages didnt really like it, but for some reason...
New
AstonJ
Inspired by @jdiago’s post containing this slide: I thought it would be interesting discussing what independent languages like Elixir...
#ai
New
AndyL
Elixir has rapidly changing hex packages, both public and private. For people who use AI Coding Tools (Aider, Cursor, Windsurf, etc.), h...
New
AstonJ
Welcome to our new Dev Environment & Tools section! We had originally pencilled this in for inclusion later in the year (closer to o...
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
SpaceVim
I am author of SpaceVim, As you know SpaceVim is a vim config which provide layer feature. I want to improve the elixir layer in Space...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
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

We're in Beta

About us Mission Statement