Coder Social home page Coder Social logo

cerebro-shell's Introduction

cerebro-shell

Cerebro plugin to execute any shell command from Cerebro search line

Plugin screenshot

Usage

In Cerebro, type $ + your shell command. This command will be executed from your current user home directory (you can exec $ pwd to see this path).

Plugin shows real-time result of your command in preview.

Features

  • Real-time preview;
  • Uses your user ENV (environment), that means you will have the same results in your terminal and in Cerebro;
  • Autocomplete from your shell history.

Related

  • Cerebro โ€“ main repo for Cerebro app;

License

MIT ยฉ Alexandr Subbotin

cerebro-shell's People

Contributors

dubisdev avatar floriangosse avatar kelion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tarsbase

cerebro-shell's Issues

Encoding problems

2017-03-02

Some characters are not displayed correctly.

Code page is 850.

Windows 10 Pro 64-bit 1067 14393.693.

Doesn't seem to work on Ubuntu Linux

2017-02-10 02-23-27
Pressing Enter, Ctrl+Enter, Enter on Numpad - no effect. My shell is fish and terminal emulator terminator, but I'm not sure they are the reason why it doesn't work.
Have you tested this plugin on Linux (it is not marked as OS X-specific).

This plugin won't install under windows

When I type plugins shell and select to shell plugin and 'Install', the Install label changes to Installing. App will be reloaded...

But when I type $ echo yes nothing happens. When I type plugins shell again, I see that the plugin has the install option again. So it does not seem to be installed.

Feature Request: Passing input from cerebro to STDIN

Would be nice if the plugin would allow for passing input to stdin of command.

Because of that you can't run sudo pacman -Syu. For one sudo expects input to stdin, plus pacman will ask for confirmation as will any package manager for any distro.

Unknown syntax error

For all of my commands being run, it shows (in addition to the command's output):

/bin/bash: syntax: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `syntax'

For example:

image

Any suggestions where to start debugging?

stty warning on Ubuntu Linux

Plugin works fine, but with any command the first line is:

stty: 'standard input': Inappropriate ioctl for device

2017-02-10 16-46-13

I don't have this message in regular terminal, should be something specific to how this plugin interacts with system.

Bash error for every command

I don't know what caused it but it's probably a powerline issue.

/bin/bash: module: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `module'
/bin/bash: switchml: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `switchml'
/bin/bash: scl: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `scl'

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.