Skip to content

Collected snippets and scripts from the commandline-fu channel on coffeeops slack

License

Notifications You must be signed in to change notification settings

unixorn/commandline-fu

 
 

Repository files navigation

commandline-fu

Table of Contents

Collected snippets and scripts from the commandline-fu channel on coffeeops slack

Included scripts

Script Description Author
g git helper for lazy typists @Hefeweizen
middle Snips lines out of the the middle of a file and dumps them to stdout @Hefeweizen
vagrant_box_update update installed vagrant boxes @Hefeweizen

Other Script Collections

  • git-extra-commands - Collected extra git commands
  • tumult - macOS-specific scripts. They're packaged as a ZSH plugin but can easily be used with other shells.

Installing

The commandline-fu collection is packaged as a ZSH plugin to make it easier to use if you're already using a ZSH framework. If you don't already use a framework, I recommend Zgenom, because it is wicked fast and also supports using oh-my-zsh's internal plugins.

Bash / not using a framework

If you're using bash, or aren't using a framework, you can install it by cloning this repository and adding its bin directory to your $PATH.

Add antigen bundle unixorn/tumult.plugin.zsh to your .zshrc with your other bundle commands.

Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running ZSH with antigen bundle CoffeeOps/commandline-fu for testing before adding it to your .zshrc.

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone git@github.com:CoffeeOps/commandline-fu.git commandlinefu
  3. Add tumult to your plugin list - edit ~/.zshrc and change plugins=(...) to plugins=(... commandlinefu)

Add zgenom load CoffeeOps/commandline-fu to your .zshrc file in the same function you're doing your other zgenom load calls in. Zgenom will handle automatically cloning the plugin for you the next time you do a zgenom save.

About

Collected snippets and scripts from the commandline-fu channel on coffeeops slack

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%