To install ZSH and Cynnexis' configuration, please follow these instructions:
- Install [FiraCode Nerd Font][firacode].
- Install [ZSH][zsh]:
To install ZSH and Cynnexis' configuration, please follow these instructions:
This gist contains useful Bash spells that I acquired.
Table of Contents:
Warning
This configuration is deprecated, please see Starship ZSH Configuration.
To install ZSH and Cynnexis' configuration, please launch the following command:
| #!/bin/bash | |
| mirrors=$(curl -sSL http://dante.ctan.org/mirmon/ | grep -oE "<TD ALIGN=RIGHT><A HREF=\"[^\"]+" | cut -d\" -f2) | |
| all_ctan_mirrors=($mirrors) | |
| re_number='^[0-9.]+$' | |
| declare -a all_ping=() | |
| declare -a all_url=() | |
| i=0 | |
| for ctan_mirror in ${all_ctan_mirrors[@]}; do | |
| results=$(ping -c 1 -w 1 -W 1 $(echo $ctan_mirror | sed -re 's/^[a-zA-Z0-9]+\:\/\/([^\/]+).+$/\1/')) | |
| avg=$(echo $results | sed -re 's/^.*=\s*[0-9.]+\/([0-9.]+).*$/\1/') |
| license: mit |