first commit

This commit is contained in:
Arctic 2025-07-04 11:48:40 -05:00
commit 0610f4aeab
130 changed files with 9897 additions and 0 deletions

7
fn/-z4h-fix-locale Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env zsh
# Try in order: C.UTF-8, en_US.UTF-8, the first UTF-8 locale in lexicographical order.
(( $+commands[locale] )) || return
local loc=(${(@M)$(locale -a):#*.(utf|UTF)(-|)8})
(( $#loc )) || return
export LC_ALL=${loc[(r)(#i)C.UTF(-|)8]:-${loc[(r)(#i)en_US.UTF(-|)8]:-$loc[1]}}