VibeHunt
Back to browse
undollar

undollar

Strip the '$' preceding copy-pasted terminal commands.

Source

undollar is a command‑line utility that removes a leading “$” character from commands copied from documentation or forums before they are executed. When a user pastes a line that begins with the typical prompt symbol, undollar intercepts the input, strips the dollar sign, and runs the remaining command unchanged. This prevents the common “command not found” errors that occur when the prompt symbol is unintentionally included in the pasted text.

The tool is installed globally via npm or yarn and integrates with the shell as a regular command. Once present, it operates transparently; users do not need to invoke it explicitly—any pasted line starting with “$” is automatically corrected. This behavior is achieved by registering “$” as a valid command that simply forwards the rest of the line to the shell.

undollar is intended for developers and system administrators who frequently copy terminal snippets from online sources such as StackOverflow. It addresses the specific inconvenience of stray prompt symbols on Unix‑like systems, allowing a workflow to remain uninterrupted without manual editing of each pasted command.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps