Coder Social home page Coder Social logo

unixorn / commandline-fu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coffeeops/commandline-fu

1.0 1.0 0.0 21 KB

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

License: Apache License 2.0

Shell 100.00%

commandline-fu's Introduction

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 [email protected]: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.

commandline-fu's People

Contributors

unixorn avatar hefeweizen avatar

Stargazers

Michael avatar

Watchers

 avatar

commandline-fu's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.