Skip to content

Specify shell or allow setting all jobs to automatically source a file/profile? #328

@MostHated

Description

@MostHated

Hey there,
I seem to be having a bit of an issue finding a reliable way to access environmental variables and functions from jobs. I see that the jobs return back $SHELL as /bin/sh. Is there some way I can make all jobs run under a different shell (such as zsh) so that it can automatically pick up my .zshenv file or if not that, at least pick up the /etc/bash.bashrc or something along those lines, straight from the cmd line within the job file so that I don't have to make each job individually source it?

Thanks,
-MH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions