~wychmire

Recent activity

Re: Plans for an config file? 14 days ago

From Caleb JA to ~emersion/mrsh-dev

Jan 10, 2020, 21:55 by noah@packetlost.dev:

> Try adding `export` in front of the ENV.
>
Yesterday I attempted to send an email saying while that made the variable show up when I ran `printenv` and that aliases placed in ~/.env worked, my `printf "env\n"` still didn't run. Thankfully either I didn't send it or I deleted my draft or something else because it turns out I just wasn't testing properly.

When I login to a tty only "profile" gets printed, but after logging in/out of my Sway session "env" gets printed on new terminal windows, and "profile" does not. So it looks like when I start a new tty session my ~/.profile file gets run, and from then on ~/.env gets run instead. Thanks for the help, all!

--
Caleb

Re: Plans for an config file? 15 days ago

From Caleb JA to ~emersion/mrsh-dev

> Try adding `export` in front of the ENV.
>

--
Caleb

Re: Plans for an config file? 15 days ago

From Caleb JA to ~emersion/mrsh-dev

Jan 9, 2020, 22:30 by sir@cmpwn.com:

> On Fri Jan 10, 2020 at 4:30 AM, Caleb wrote:
>
>> Are there any plans for file like config file to place aliases and
>> change PS1 in, or is that out of mrsh's scope, and is more likely to be
>> covered by something like imrsh?
>>
> You should use a combination of your profile and env for this.
> ~/.profile (and /etc/profile) is sourced when you log in (that is, when
> mrsh is run as your login shell), and the ENV variable is treated as the
> path to another script to source for each session.
>
I put the two lines

Plans for an config file? 16 days ago

From Caleb to ~emersion/mrsh-dev

Are there any plans for file like config file to place aliases and change PS1 in, or is that out of mrsh's scope, and is more likely to be covered by something like imrsh?

--
Caleb