• 0 Posts
  • 80 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle


  • It is very good, and I am currently using it. I don’t like its dependencies on GTK stuff, the developer is a little picky about what to support, and I dislike the +options style. Other than that, 👍 .

    Also great: Wezterm, Konsole, Rio. I’m excitedly following Rio’s development, which has a much smaller dependency list, and hopping back and forth between it and Ghostty/Wezterm. But it’s still got some things to iron out and features to develop.


  • It’s been a while, but my clumsy adding of a comment to the buffer is unnecessary, given zle -M, which will display a message outside of the buffer. So here’s an updated version:

    # -- Run input if single line, otherwise insert newline --
    # Key: enter
    # Credit: https://programming.dev/comment/2479198
    .zle_accept-except-multiline () {
      if [[ $BUFFER != *$'\n'* ]] {
        zle .accept-line
        return
      } else {
        zle .self-insert-unmeta
        zle -M 'Use alt+enter to submit this multiline input'
      }
    }
    zle -N       .zle_accept-except-multiline
    bindkey '^M' .zle_accept-except-multiline  # Enter
    
    # -- Run input if multiline, otherwise insert newline --
    # Key: alt+enter
    # Credit: https://programming.dev/comment/2479198
    .zle_accept-only-multiline () {
      if [[ $BUFFER == *$'\n'* ]] {
        zle .accept-line
      } else {
        zle .self-insert-unmeta
      }
    }
    zle -N         .zle_accept-only-multiline
    bindkey '^[^M' .zle_accept-only-multiline  # Enter
    



  • I don’t know SP or how its shortcuts work, but did you check if you already have those shortcuts assigned in plasma’s global shortcuts? The easiest way is to assign them to any plasma global shortcut and see if it tells you there’s a conflict.

    If that’s not it, can you trigger those SP actions with an external command? Then you could do it through plasma global shortcuts.








  • The Wikipedia link you provide here for copyleft does not say that permissive licenses are a subset of copyleft licenses, but rather contrasts the two categories. For example, you can scroll down to the table at “Types and relation to other licenses,” where you can see MIT is not in the green Copyleft column.

    If you check Wikipedia’s Copyleft software licenses category, you’ll see MIT is absent.

    The Wikipedia link you provide for permissive states:

    The Open Source Initiative defines a permissive software license as a "non-copyleft license . . .


  • No, I don’t. I don’t know the strict definition of copyleft, so I went to the source you indicated to get a better understanding. And the phrase I found there:

    Unlike copyleft software licenses, the MIT License . . .

    certainly indicates that the MIT License is not copyleft.



  • I checked the wiki page you kind of linked, and the third sentence is:

    Unlike copyleft software licenses, the MIT License also permits reuse within proprietary software, provided that all copies of the software or its substantial portions include a copy of the terms of the MIT License and also a copyright notice.