This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define ANSI_RESET_ALL "\x1b[0m" | |
| #define ANSI_COLOR_BLACK "\x1b[30m" | |
| #define ANSI_COLOR_RED "\x1b[31m" | |
| #define ANSI_COLOR_GREEN "\x1b[32m" | |
| #define ANSI_COLOR_YELLOW "\x1b[33m" | |
| #define ANSI_COLOR_BLUE "\x1b[34m" | |
| #define ANSI_COLOR_MAGENTA "\x1b[35m" | |
| #define ANSI_COLOR_CYAN "\x1b[36m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # This is SORT OF LIKE an X session, but not quite. You get a command as the | |
| # first argument (it could be multiple words, so run it with "eval"). As a | |
| # special case, the command can be: | |
| # failsafe - Run an xterm only | |
| # default - Run the appropriate Xclients startup (see the code below) | |
| # custom - Run ~/.xsession and if that's not available run 'default' | |
| # | |
| # (Note that other arguments could also follow, but only the command one is |
forked from https://github.com/M4he/Linux/blob/master/Hardware/MacBookAir7%2C2.md
Below explanations concentrate on my experience using Debian 9 (Stretch) on a MacBook Air 7,2 (2015 model) and explain necessary tweaks.
- albeit rEFInd works, it will not boot non-EFI bootloaders
- you can ditch rEFInd, grab an EFI-compatible boot disk and install regularly
- for Debian 9, the Live CDs might not boot as they don't include EFI, use the general installation discs!