~kmaasrud/shatgpt

3717501f600dded42df005b75fb0679fb6fd493b — Knut Magnus Aasrud 1 year, 6 months ago 53b3390
improve shell detection
1 files changed, 2 insertions(+), 1 deletions(-)

M shatgpt
M shatgpt => shatgpt +2 -1
@@ 18,7 18,8 @@ editor() {

shell() {
    # get the user's editor
    printf '%s' "${SHELL:-sh}"
    shell=$(basename "$SHELL")
    printf '%s' "${shell:-sh}"
}

os() {