Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

[Feature Request] Check if shell is Bash or ZSH. Store and source accordingly. #32

@qumberrizvi

Description

@qumberrizvi

ZSH support can be added out of the box if you check for the active shell before-hand.
This should tell you what shell is active:

if ! [ -z ${ZSH_VERSION+x} ]; then
       shellrc = "~/.zshrc"
else
       shellrc = "~/.bashrc"
fi

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