Skip to content

Calling "sh" within LarryShell creates bug #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mabotkin opened this issue Dec 28, 2016 · 3 comments
Open

Calling "sh" within LarryShell creates bug #5

mabotkin opened this issue Dec 28, 2016 · 3 comments
Assignees
Labels

Comments

@mabotkin
Copy link
Collaborator

When $ sh is run within LarryShell, the PS1 becomes $LarryShell$ (Rich501) ~/Documents/Github >. The 501 replaces the ! which is a bug that needs to be fixed.

@mabotkin mabotkin added the bug label Dec 28, 2016
@mabotkin
Copy link
Collaborator Author

mabotkin commented Dec 28, 2016

The issue is that ! is a reference to previously called commands, and bash keeps 500 lines of history, and so 501 is the "current" line.

@gengkev
Copy link

gengkev commented Dec 29, 2016

thanks alex

@gengkev
Copy link

gengkev commented Dec 29, 2016

also, if calling sh "creates bug", maybe you shouldn't have called sh... then there would be no bug in the first place :^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants