1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 07:19:02 -08:00

regenerate readme

This commit is contained in:
Connor Olding 2024-07-12 06:52:24 -07:00
parent 98f4d6ed67
commit 18b6d2cecf

View file

@ -198,9 +198,9 @@ only returns false when no arguments are given.
display all combinations of foreground and background terminal colors. display all combinations of foreground and background terminal colors.
this only includes the basic 16-color palette. this only includes the basic 16-color palette.
excluding boilerplate, this script is a mere 76 characters long! excluding boilerplate, this script is a mere 67 characters long!
![terminal colors](https://eaguru.guru/t/terminal-colors.png) ![terminal colors](https://eaguru.guru/t/terminal-colors-2024.png)
### [setup_clang_ubuntu (sh/compile)](/sh/compile#L4) ### [setup_clang_ubuntu (sh/compile)](/sh/compile#L4)
@ -208,20 +208,20 @@ print (but don't execute) the commands necessary to install
a fairly recent version of clang on ubuntu-based distros. a fairly recent version of clang on ubuntu-based distros.
```sh ```sh
$ setup_clang_ubuntu bionic $ setup_clang_ubuntu noble
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - wget -O- http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
echo -n "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main echo > "/etc/apt/sources.list.d/llvm-toolchain-noble.list" \
# deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic main "
# 12 deb http://apt.llvm.org/noble/ llvm-toolchain-noble main
deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main # deb-src http://apt.llvm.org/noble/ llvm-toolchain-noble main
# deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main # 18
" > /etc/apt/sources.list.d/llvm-toolchain-bionic.list deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main
apt-get update # deb-src http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
apt-get install clang-12 export DEBIAN_FRONTEND=noninteractive NEEDRESTART_SUSPEND=1
apt-get install lld-12 apt-get update -y && apt-get install -y clang-18 lld-18
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 1200 update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 1800
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 1200 update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 1800
update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-12 1200 update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-18 1800
``` ```
### [compile](/sh/compile#L47) ### [compile](/sh/compile#L47)