Giter Club home page Giter Club logo

gosh's Introduction

gosh

Codacy Badge Setup Automated Pull Requests Welcome CodeFactor GitHub repo size GitHub language count

Welcome to gosh! The end goal of this project is to allow you to use the terminal for everything! Do anything from math, playing music, sending emails, to searching the web, but have these things be built into your terminal.

Install

Homebrew (Recommend)

brew install gosh-terminal/homebrew-gosh/gosh

Gitpod

Use Gitpod, everything is preinstalled.

Open in Gitpod

One-line curl installer

curl -s "https://raw.githubusercontent.com/gosh-terminal/gosh/master/tools/setup2.0.bash" | bash
source ~/.bashrc

Go Module

git clone "https://github.com/gosh-terminal/gosh.git"
cd gosh
go install
echo "export GOSH_HOME=\"$GOPATH/bin\"" >>~/.bashrc
source ~/.bashrc

DH Make

git clone "https://github.com/gosh-terminal/gosh.git"
cd gosh
dh_auto_install

Example of gosh

gosh's People

Contributors

always-be-closing[bot] avatar github-actions[bot] avatar mend-bolt-for-github[bot] avatar rdil avatar renovate-bot avatar renovate[bot] avatar restyled-commits avatar thecla1 avatar u5surf avatar

Stargazers

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

Watchers

 avatar  avatar

gosh's Issues

Add pipes

add stdin/stdout piping like bash has

History Command Negative Repeat count

Describe the bug
Program panics when you use our history command and the command is too long
To Reproduce

  1. Open gosh
  2. type very long command
  3. run history
  4. see that it crashes
    Expected behavior
    Shows command (or at least does not crash)
    Additional Information
panic: strings: negative Repeat count

goroutine 1 [running]:
strings.Repeat(0x5dc460, 0x1, 0xfffffffffffffff9, 0xfff, 0xc0003b1c40)
        /home/gitpod/go/src/strings/strings.go:533 +0x5ca
gosh/pkg.History()
        /workspace/gosh/pkg/history.go:32 +0x26c
gosh/pkg.Shell()
        /workspace/gosh/pkg/shell.go:91 +0x959
main.main()
        /workspace/gosh/main.go:11 +0xff

Scripting

Add support for a shell scripting language

exiting gosh breaks bash

Describe the bug
When exiting gosh you can't see stdin
To Reproduce
Steps to reproduce the behavior:
1 Open gosh
2 exit gosh
3 try to type
4 see that you can't see input
Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: Linux

Additional context
Initially noticed in Gitpod and reproduced on Termux (Android)

Debian Packaging

We should start thinking about integrating with package managers sooner rather than later we should start with an apt option

App Store

Part of doing anything in the terminal should be that there is a way to extend our shell and distribute extensions with ease. So, what about a TUI based app store.

commands that start with cd

when commands start with cd it thinks the user is trying to change directories
image
fyi this is in the gitpod branch

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • Update elgohr/Publish-Docker-Github-Action action to v2.22
  • Update actions/checkout action to v4
  • Update elgohr/Publish-Docker-Github-Action action to v3

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
.gitpod.Dockerfile
  • gitpod/workspace-full sha256:881c732a9b82a99725620e9b5154620bbb7c0683e3cd9e21fbe246c14d2c4b67
Dockerfile
  • golang stretch@sha256:3205a5663200801ed336b619c4386f4afaeb6f6f2e72b94da17296a6907e49e8
github-actions
.github/workflows/dockerbuild.yml
  • actions/checkout v1
.github/workflows/dockerimage.yml
  • actions/checkout v1
  • elgohr/Publish-Docker-Github-Action 2.11
.github/workflows/homebrew.yml
  • actions/checkout v1
gomod
go.mod
  • go 1.12
  • github.com/c-bata/go-prompt v0.2.3
  • github.com/gizak/termui/v3 v3.1.0
  • github.com/manifoldco/promptui v0.7.0
  • github.com/mattn/go-isatty v0.0.12
  • golang.org/x/crypto v0.0.0-20200420104511-884d27f42877@884d27f42877
  • gopkg.in/src-d/go-git.v4 v4.13.1

  • Check this box to trigger a request for Renovate to run again on this repository

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.