On Wed, 05 Oct 2022, Maxim Cournoyer wrote:
> Hi,
>
> Olivier Dion writes:
>
> [...]
>
>>> I prefer the "#!/usr/bin/env bash" shebang; /usr/bin/env is available on
>>> FHS distribution, and on Guix System, for convenience. You can use if
>>> for any interpreted script, such as Guile, Python,
Hi,
Olivier Dion writes:
[...]
>> I prefer the "#!/usr/bin/env bash" shebang; /usr/bin/env is available on
>> FHS distribution, and on Guix System, for convenience. You can use if
>> for any interpreted script, such as Guile, Python, Perl, etc.
>
> Only if coreutils is in the profile that
Hi jordi,
>I'm puzzled, as long as 'loginctl suspend' is working in the shell
But '~/.config/i3/i3exit loginctl suspend' isn't.
Judging by your original snippet, you've mashed two commands together: you
meant either
~/.config/i3/i3exit suspend
or
loginctl suspend
But nobody here can
On Tue, 04 Oct 2022, Maxim Cournoyer wrote:
> Hi,
>
> Olivier Dion via writes:
>
>> On Tue, 04 Oct 2022, jordi wrote:
>>> Hi guixers,
>>>
>>> i'm wondering...for my scripts to work in Guix, instead of
>>> '#!/bin/bash' ,
>>>
>>
>> Typically the `sh' program should be a symlinked to
Hi,
Olivier Dion via writes:
> On Tue, 04 Oct 2022, jordi wrote:
>> Hi guixers,
>>
>> i'm wondering...for my scripts to work in Guix, instead of
>> '#! /bin/bash' ,
>>
>
> Typically the `sh' program should be a symlinked to `bash' in your
> system profile. I think it is the case for many
Le Tue, Oct 04, 2022 at 03:18:36PM +0200, jordi a écrit :
> Hi guixers,
Hello!
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
> what do i have to start them with ?
#!/usr/bin/env bash
And if you need to pass arguments/options, take a look at
$
On Tue, 04 Oct 2022, jordi wrote:
> Hi guixers,
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
Typically the `sh' program should be a symlinked to `bash' in your
system profile. I think it is the case for many distro. If you want it
to be bulletproof
Hi,
> Hi guixers,
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
> what do i have to start them with ?
>
> Thanks,thanks, thanks
>
> F
We have a link to bash located in /bin/sh so you can just leave /bin/sh. Or you
can also use `#!/usr/bin/env bash`
Hi guixers,
i'm wondering...for my scripts to work in Guix, instead of
'#!/bin/bash' ,
what do i have to start them with ?
Thanks,thanks, thanks
F