Closed Resonious closed 6 months ago
@Iorin0225 please review this
I'm looking this now... But this does not work on my local, and It must be because I use mac. I'm investigating this problem...
Hmm maybe it's because the busybox sh
in alpine doesn't load .profile
. I'm using https://github.com/degica/kaiser/pull/32 to run a debian-based container. It's also possible that the home directory isn't the same as the workdir.
I'll mess around with this a bit after the weekend.
My container does not load .profile
.
And when i put it at /etc/profile
, it seems to work correctly.
@shell_rc = '/etc/profile'
Can this help you?
That's perfect, actually. I totally forgot about /etc/profile.
Ah, you need to resolve the rubocop...
I think resolving Metrics/ClassLength: Class has too many lines. [430/425]
may include some changes.
Please let me know if you think this should be review it again!
I spend most of my dev time in
kaiser up -a bash
where the shell is pretty boring. This lets me write a~/.kaiser_profile
that gets loaded into my running containers as.profile
(configurable).The colors are great, but really I just didn't want to keep typing
set -a vi
every time I hop into a Kaiser container.