Skip to content

resty in bash script after upgrade to version 3 fails #87

Open
@broerman

Description

@broerman

After upgrading to newest resty ( version 3 ) my bash scripts stopped to work.

I found that aliases for example GET=resty-get where not resolved. I tested with type -a GET.

For me adding a bash option solved the problem.

#!/bin/bash
shopt -s expand_aliases

See also on:
[https://unix.stackexchange.com/questions/1496/why-doesnt-my-bash-script-recognize-aliases]

Bernd

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