help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: not good proposal: "C-z <letter>" reserved for users


From: Emanuel Berg
Subject: Re: not good proposal: "C-z <letter>" reserved for users
Date: Tue, 16 Feb 2021 02:30:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> interactive-zsh () {
>     [[ $- == *i* ]] && echo 'you better believe it' || echo 'not so'
> }

Perhaps better:

interactive-zsh () {
    [[ -o interactive ]] && echo "it's better" || echo "not so"
}

--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]