Skip to content
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

Move alias and function creation to .gitpod.Dockerfile #16

Closed
apolopena opened this issue Feb 1, 2021 · 1 comment
Closed

Move alias and function creation to .gitpod.Dockerfile #16

apolopena opened this issue Feb 1, 2021 · 1 comment
Assignees
Labels
bug Something isn't working fixed Bug has been fixed gitpod-config Related to gitpod configuration (bash scripts etc...) passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main

Comments

@apolopena
Copy link
Owner

Describe the bug

Any aliases written to .bashrc or .bash_profile will only work out of the box from the Init terminal, other currrently open terminals (not new ones though) will not have those aliases or functions until a new terminal (in the case of .bashrc) or .bash_profile is sourced.

Screenshots

Steps to reproduce

  1. Create a new repo from the workspace
  2. run debug-on in an currently open terminal that is not the Init terminal/

Expected behavior

Any terminal should have all the aliases and functions available that were written in during the gitpod initialization.

Additional information

Eventually this system will need to be refactored to use $HOME/.bashrc.d so that .bashrc does not become too bloated.

@apolopena apolopena added the bug Something isn't working label Feb 1, 2021
@apolopena apolopena self-assigned this Feb 1, 2021
apolopena added a commit that referenced this issue Feb 2, 2021
@apolopena apolopena added the passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main label Feb 2, 2021
@apolopena apolopena added the fixed Bug has been fixed label Feb 4, 2021
@apolopena apolopena changed the title move alias and function creation to .gitpod.Dockerfile Move alias and function creation to .gitpod.Dockerfile Feb 4, 2021
@apolopena
Copy link
Owner Author

Git aliases are still written to ~/.gitconfig in the init task but that can stay that way for the foreseeable future.

@apolopena apolopena added the gitpod-config Related to gitpod configuration (bash scripts etc...) label Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Bug has been fixed gitpod-config Related to gitpod configuration (bash scripts etc...) passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main
Projects
None yet
Development

No branches or pull requests

1 participant