From dca263bc6a00d69254eb2e303f9300f9cca54ac3 Mon Sep 17 00:00:00 2001 From: Andrea Rogers Date: Wed, 16 Oct 2024 12:52:05 -0500 Subject: [PATCH] profile.mac: Set LANG, update PATH for Python 3.12 Setting the LANG environment variable to a locale with UTF-8 support makes command-line applications like Vim behave a *lot* better! --- .profile.mac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.profile.mac b/.profile.mac index 2d4d77b..f036902 100644 --- a/.profile.mac +++ b/.profile.mac @@ -1,6 +1,6 @@ #[%MACPORTS%]# # MacPorts Installer addition on 2023-01-11_at_01:28:57: adding an appropriate PATH variable for use with MacPorts. -export PATH="$HOME/Library/Python/3.11/bin:$HOME/perl5/bin:$HOME/.local/bin:$HOME/.local/sbin:/opt/local/bin:/opt/local/sbin:/Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin:$PATH" +export PATH="$HOME/Library/Python/3.12/bin:$HOME/Library/Python/3.11/bin:$HOME/perl5/bin:$HOME/.local/bin:$HOME/.local/sbin:/opt/local/bin:/opt/local/sbin:/Applications/ArmGNUToolchain/12.2.rel1/arm-none-eabi/bin:$PATH" # Finished adapting your PATH environment variable for use with MacPorts. #[%MACPORTS%]# @@ -25,3 +25,6 @@ if [ -d "$HOME/.profile.d" ]; then . "$pd" done fi + +# Makes Vim and friends behave! +export LANG=en_US.UTF-8