项目作者: SinaKhalili

项目描述 :
"$: command not found" will haunt you no longer 🙉 PASTE FROM TUTORIALS WITH POWER!
高级语言: Shell
项目地址: git://github.com/SinaKhalili/ignore-dollarsign.git
创建时间: 2020-05-31T07:51:47Z
项目社区:https://github.com/SinaKhalili/ignore-dollarsign

开源协议:

下载


ignore-dollarsign 🙉 $

You ever follow a tutorial and then have a this $ little squigly boi show his ugly head?

  1. # Welcome to whatever tutorial guys!
  2. $ ls | grep '*.zsh' # Have fun copy-pasting that loser!! Hahahahaha!

Like geez mom I’m trying to copy-pasta into my terminal give me a break!

  1. $: command not found

Well no more! With this sweet zsh plugin, whose idea is SURELY first
(uh maybe
not) this woe will be a thing of the past!

  1. $ echo "hi"
  2. # => stop pasting in commands from the internet
  3. # =>
  4. # => hi

Install

Let’s not kid ourselves, this “plugin” is like literally 1 line of code, you could
probably just read the file and copy-paste it into your .zshrc. But I reccomend
using a nice zsh plugin manager!

You could also clone this repo somewhere on your machine and write source 'path/to/ignore-dollarsign.plugin.zsh' in your /.zshrc

I personally use antigen!
To install with antigen it’s simply

  1. antigen bundle SinaKhalili/ignore-dollarsign

Other zsh plugin managers should work too.

Try it out

Paste these sweet commands in and feel like you’re in control again

  1. $ cat *.* | grep 'beans'
  2. # Now you can win the `useless use of cat award` with style!
  3. $ fleams 124
  4. # => command not found: fleams
  5. # Now you can not-have another program!
  6. $ sudo brew install factor
  7. # => Error: Running Homebrew as root is extremely dangerous and no longer supported.
  8. # Now homebrew can complain in style!

Thanks for checking this out 👋 now if ya don’t mind,
I’m gonna go paste some commands into my terminal 😎 …what’s that,
dollar sign? Did you say something? I can’t heeaaAr yoUouU