shfmt
zplug
shfmt | zplug | |
---|---|---|
10 | 8 | |
26 | 5,689 | |
- | 0.3% | |
10.0 | 0.0 | |
about 5 years ago | 11 months ago | |
Makefile | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shfmt
-
Go Run
Are you assuming that based on visiting the vanity import path in a browser?
https://github.com/mvdan/sh is the repo looks like v3.8.0 was released 2 weeks ago.
- FLiP Stack Weekly for 13-Feb-2023
- new user trying to learn what am i doing wrong?
-
Production pipelines are tested in production
For shell specifically, ShellCheck and Shfmt are great.
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
-
How common are code bases where 90% of functions have the same signature?
I haven't worked in, like, a ton of Go code bases, but I've worked in several (work, my own code, Gio UI, github.com/mvdan/sh, some others), and I've never seen this pattern that extensively. It does seem like something of an antipattern.
-
Ask HN: Let's Build CheckStyle for Bash?
- sh: https://github.com/mvdan/sh
-
Autofix missing spaces for test operators in bash
I guess what you're asking is to automatically format on save. There's https://github.com/mvdan/sh, which between other things, is a shell formatter. I don't know what you're using but shfmt is available in the repos of some linux distros.
- s/bash/zsh/g
-
Code formatter, linters, etc. Recommendations?
There is shellcheck, and shellharden which is a strict version of it. There are similar stuff here, some that also help with your editor. You can also use a docker version of shfmt. See here for a quick tutorial on shfmt.
zplug
-
zsh doesn't output anything when there's an segfault
Without looking too closely, I see that zplug disables monitor in at least three places in its code, and that some people have issues with it not getting re-enabled due to a stale lock file: zplug#374
-
A single-command setup script for Zsh, Prezto and Powerlevel10k theme
I've been meaning to automate my Zsh setup for a long time, and have finally done it based on this awesome GitHub project. I updated the installation script to use Prezto and zplug to keep things a bit tidier, and added an option to automatically download the recommended Nerd Font for Powerlevel10k theme.
- [plugins] Read the sidebar; does zsh have a plugin manager? What do people use?
- C-z with zsh/zplug and neovim
-
s/bash/zsh/g
Yes it is incredibly heavyweight, but it's very batteries-included in its approach, which helps zsh newbies get started.
For those who want to shed the heavyweight omz stuff, I recommend zplug [0]
[0] https://github.com/zplug/zplug
-
How to select full text when only partial is shown?
fyi, the webpage tested in this case is here: https://github.com/zplug/zplug
-
Zsh Plugin managers
I've been using zplug for a while now. Pretty happy with it. Some people say it's slower, but it's not been enough to be an annoyance.
- The VSCode Insiders Build for Apple Silicon is ridiculously fast
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
shellharden - The corrective bash syntax highlighter
zgenom - A lightweight and fast plugin manager for ZSH
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
sheldon - :bowtie: Fast, configurable, shell plugin manager
bash-timestamping-sqlite - bash commandline timestamping using a sqlite database for personal analytics, activity logging and auditing
oh-my-fish - The Fish Shell Framework
volta - Volta: JS Toolchains as Code. ⚡
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
antibody - The fastest shell plugin manager.