In ~/.config/alacritty/alacritty.yml:
# Define
schemes:
everforest_dark_hard: &everforest_dark_hard
primary:
background: '#272e33'| # THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG | |
| # PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. | |
| # | |
| # | |
| # Libraries and infrastructure | |
| sudo apt update -y | |
| sudo apt install -y \ | |
| docker.io docker-buildx \ | |
| build-essential pkg-config autoconf bison rustc cargo clang \ |
| scheme: "Everforest dark, hard" | |
| author: "Sainnhe Park (sainnhe@gmail.com)" | |
| base00: "2b3339" # Default Background | |
| base01: "323c41" # Lighter Background (Used for status bars, line number and folding marks) | |
| base02: "503946" # Selection Background | |
| base03: "868d80" # Comments, Invisibles, Line Highlighting | |
| base04: "d3c6aa" # Dark Foreground (Used for status bars) | |
| base05: "d3c6aa" # Default Foreground, Caret, Delimiters, Operators | |
| base06: "e9e8d2" # Light Foreground (Not often used) |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh| # Set colored terminal prompt as "hostname:current directory$ " | |
| # Not sure if this works on centos yet | |
| # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' | |
| # Niceities | |
| alias cd..="cd .." | |
| alias rm="rm -i" # Interactive mode delete | |
| alias hs="cd ~/ && ls" | |
| alias up="cd .." | |
| alias home="cd ~/" |
| <?php | |
| /** | |
| * WARNING! THIS SNIPPET MAY BE OUTDATED. | |
| * The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
| * https://github.com/gravitywiz/snippet-library/blob/master/gravity-forms/gw-email-domain-validator.php | |
| */ | |
| /** | |
| * Gravity Wiz // Gravity Forms // Email Domain Validator | |
| * | |
| * This snippets allows you to exclude a list of invalid domains or include a list of valid domains for your Gravity Form Email fields. |