Comments (4)
You're right, I am probably splitting hair...
I like using .bashrc
instead of $GSH_CHEST/bashrc
though.
Let's change only that.
from gameshell.
I'm not sure I fully understand what you are proposing. Do you mean:
- the "treasure" offering a
.bashrc
in the chest would be changed to have the.bashrc
in$HOME
, - or do you mean that you would put a
.bashrc
in$HOME
from the start?
If it is 1, then I don't see anything wrong with that.
If it is 2, then I am a bit worried that this could be puzzling for the player.
from gameshell.
I was proposing the second. (And the first as a consequence.)
My reasonning was that running bash
from GameShell seems to take you "out" of GameShell, which is a little strange for a shell.
And I am also worried about puzzled player, but
- no mission really takes place at the root of the world,
- we can have a comment
# DO NOT MODIFY THE NEXT LINE
at the top of the file, - we can regenerate a correct
.bashrc
instart.sh
, should it be missing.
The question is thus do we risk puzzling a player who's never heard of .bashrc
, or do we try running a shell "as standard" as possible?
from gameshell.
Why not define an alias for bash
then? I think that should solve the "take you out of GameShell" problem. At least if the user does not run /bin/bash
, but if they know how to do that I don't think we care.
I think I prefer to keep things as they are with the following changes:
- the fix I suggest above to prevent problems if the player runs
bash
, - move the
.bashrc
given as treasure to$HOME
so that it is in the standard location. We could even explain that this is a standard configuration file in a comment in the file.
What do you think?
from gameshell.
Related Issues (20)
- Mission 29 HOT 2
- mission 18 chromeos HOT 6
- gsh index and gsh goto do not appear with gsh help HOT 2
- Mission 18 : X11 connection rejected because of wrong authentication. HOT 3
- Update Italian translation of some GameShell files
- Please use asciinema instead of animated gifs HOT 1
- Installation in arch linux based distribution. HOT 1
- Dockerfile HOT 2
- /missions/stdin_stdout_stderr/04_stderr_dev-null_grimoires/ goal HOT 2
- Mission 18 Mac OS Issue: The variable DISPLAY is not defined. HOT 4
- Mission 28 and 29 (Mac OS): Some dependencies are not met HOT 1
- Mission 34 (Mac OS): Some dependencies are not met HOT 1
- Typo in italian translation on missions/stdin_stdout_stderr/02_stdin_redirection_multiplications/i18n/it.po HOT 2
- Missing some hint at the beginning? HOT 2
- Hosted GameShell in my blog HOT 1
- Accidentally created issue [remove] HOT 1
- Mission 34 - Translation error HOT 1
- Add a `gsh sofar` command HOT 2
- Don't let the player be stuck HOT 7
- Duplicate dirnames (lower/upper case) in subdir i18n HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gameshell.