Skip to content

install.sh is CRLF but it should be LF #1

@josemalena

Description

@josemalena

When running the install commands:

git clone https://github.com/b3rs3rk1ng/cinnamon-group-windows-by-app.git
cd cinnamon-group-windows-by-app
chmod +x install.sh
./install.sh

Clones OK

Cloning into 'cinnamon-group-windows-by-app'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 15 (delta 3), reused 15 (delta 3), pack-reused 0 (from 0)
Receiving objects: 100% (15/15), 34.74 KiB | 1.83 MiB/s, done.
Resolving deltas: 100% (3/3), done.

Fails

zsh: ./install.sh: bad interpreter: /bin/bash^M: no such file or directory

When opened the file install.sh with VS Code, noted the file opens with EoL CRLF, changed to LF, saved, and runs OK.

code install.sh
# Saved with EoL LF
./install.sh
========================================
Cinnamon: Group Windows by Application
========================================

Creating backups...
[sudo] password for jmalena:          
Backups created.

Installing modified files...
Compiling GSettings schemas...

========================================
Installation complete!
========================================

To activate, restart Cinnamon:
  Press Alt+F2, type 'r', press Enter

Then enable the feature in:
  System Settings → Windows → Alt-Tab
  Toggle: 'Group windows by application'

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