diff --git a/data/home/.zprofile b/data/home/.zprofile index e7101be..b9a7cc2 100644 --- a/data/home/.zprofile +++ b/data/home/.zprofile @@ -332,6 +332,9 @@ wait_file() { done } - -alias sshpinotes="TERM=xterm-color ssh ubuntu@162.19.64.118" -alias mrustc="MRUSTC_TARGET_VER=1.54 /home/mb/Projects/mrustc/bin/mrustc -L /home/mb/Projects/mrustc/output-1.54.0" +term256_colors() { + for i in {0..255} + do + print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'} + done +}