From 250f9c12f99c672e9f61ccd729cd28967581298e Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 7 Apr 2025 14:47:00 +0200 Subject: fix term title --- .bashrc | 4 ++-- .profile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index b52782a..c24d0e0 100644 --- a/.bashrc +++ b/.bashrc @@ -26,13 +26,13 @@ OS=${OS:-$(~/bin/os)} case $OS in (arch|alpine) alias ls='ls --color=auto -v' ll='ls -AlFhv' - [ "$OS" = arch ] || trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%ps1}\a"' DEBUG + [ "$OS" = arch ] || trap 'printf "\e]2;%s\a" "${BASH_COMMAND%ps1}"' DEBUG ;; (Darwin) alias ls='ls -GF' ll='ls -AlGFhv' alias ldd='otool -L' alias ibrew='arch -x86_64 /usr/local/bin/brew' - trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%update_terminal_cwd}\a"' DEBUG + trap 'printf "\e]2;%s\a" " ${BASH_COMMAND%update_terminal_cwd}"' DEBUG ;; (termux) PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin diff --git a/.profile b/.profile index d52b4f3..d9f225e 100644 --- a/.profile +++ b/.profile @@ -8,7 +8,7 @@ case $OS in export XDG_RUNTIME_DIR=/run/user/$(id -u) ;; (Darwin) - PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/tcl-tk/bin:$PATH:~/go/bin:~/.cargo/bin:~/.pyenv/versions/2.7.18/bin:~/.local/bin + PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/python/libexec/bin:$PATH:~/go/bin:~/.cargo/bin:~/.local/bin export REPLYTO='mvertes@free.fr' export LANG=en_US.UTF-8 if [ -z "$SSH_AUTH_SOCK" ]; then -- cgit v1.2.3