The Wayback Machine - http://web.archive.org/web/20200708155641/https://github.com/topics/shell?l=python
Skip to content
#

Shell

A shell is a text-based terminal, used for manipulating programs and files. Shell scripts typically manage program execution.

Here are 730 public repositories matching this topic...

scorphus
scorphus commented Mar 18, 2020

The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):

The Fuck 3.29 using Python 3.8.0 and Fish Shell 3.0.2

Your system (Debian 7, ArchLinux, Windows, etc.):

macOS Catalina v 10.15.3

How to reproduce the bug:

thefuck brew cas install owncloud

Expected recommendation(s):

  • brew cask install owncloud

Ac

iamnewton
iamnewton commented Feb 21, 2017

I think the work you've done on this is amazing. Seems like a great project, but your README is a bit bloated and hard to decipher. Might I suggest you condense it down into a set of readable chunks and maybe link off to the wiki for the more detailed bits.

Its only my opinion, but I find that answering the following questions, in order, helps to simplify docs.

  • who? - who wrote the p
sidahmed-malaoui
sidahmed-malaoui commented Apr 26, 2020

I used to launch pupy using the script ./start-compose.sh (like mentioned in your documentation). But it looks like this file no longer exists.

Did you remove this functionality ? If so can you plz remove it from the documentation ! If not, can you tell me please how I can launch pupy now with docker-compose ?

PS : pupy rocks, really thank you for the author and contributors.

shervinsahba
shervinsahba commented Oct 29, 2019

On the default settings, each segment is padded on either end by a space " ". This adds visual appeal and clarity. On the other hand, it adds two characters per segment. It'd be nice to customize this option for users who want powerline to span fewer characters.

Would a left_pad and right_pad option be useful?

(PS. This project is awesome. Thanks!)

typer
dbanty
dbanty commented Apr 30, 2020

Describe the bug

The function typer.main.get_group is annotated as returning a click.Command which isn't wrong because a click.Group is a click.Command, but means I have to cast to group when trying to integrate with existing Click applications.

To Reproduce

Steps to reproduce the behavior with a minimum self-contained file.

Replace each part with your own scenario:

Perilin
Perilin commented Dec 24, 2017

Filtering by command is great, but how about also filtering by currently active directory?
I've quickly hammered something into place that works using preexec...

# Added to end of  ~/.bashrc

__peri_filter_preexec() { if [[ "${PWD}" =~ .*Private.* ]] ; then __BH_SAVE_COMMAND=''; fi }
if [ -f ~/.bashhub/deps/bash-preexec.sh ]; then source  ~/.bashhub/deps/bash-preexec.sh ; preexec_f
strizhechenko
strizhechenko commented Dec 2, 2019
Handle 0x1101, DMI type 17, 34 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: 72 bits
	Data Width: 64 bits
	Size: 4096 MB
	Form Factor: DIMM
	Set: 1
	Locator: DIMM_A2 
	Bank Locator: Not Specified
	Type: DDR3
	Type Detail: Synchronous Registered (Buffered)
	Speed: 1600 MHz
	Manufacturer: 00AD04B300AD
	Serial Number: 4A87CE52
	As
bake
rednafi
rednafi commented Nov 17, 2019

Currently, if I run bake command when the Bakefile is empty, the error message seems very scary:

Traceback (most recent call last):
  File "/home/redowan/.local/share/virtualenvs/flask-template-wBuRwttx/bin/bake", line 8, in <module>
    sys.exit(entrypoint())
  File "/home/redowan/.local/share/virtualenvs/flask-template-wBuRwttx/lib/python3.7/site-packages/click/core.py", line 764,
OrkoHunter
OrkoHunter commented Feb 2, 2018

Demo: https://www.youtube.com/watch?v=eXJPEQlpnZQ

@icyflame's suggestion:

A couple of things about Himanshu's demo:

1. You can use arguments in the middle using Bash functions. It's very useful for things like ImageMagick, youtube-dl, ffmpeg, etc.
2. I kept comparing keep to `history | ag "search"` and the zsh autocomplete plugin. So, if keep were just as fast as those two, it would b

Created by Glenda Schroeder

Released 1965

Wikipedia
Wikipedia

Related Topics

bash
You can’t perform that action at this time.