From 3b53213af40392f841a1c77b8922c70b4496bc02 Mon Sep 17 00:00:00 2001 From: Bastien CHANOT Date: Tue, 6 Oct 2026 10:55:14 +0200 Subject: [PATCH] feat(shell): export identity as USER/EMAIL instead of VIUSER/VIMAIL Same names in bashrc-linux, bashrc-osx and zshrc-osx, so the vim header and the rendered ~/.gitconfig share one identity. --- bash/bashrc-linux | 6 +++--- bash/bashrc-osx | 6 +++--- zsh/zshrc-osx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bash/bashrc-linux b/bash/bashrc-linux index eb20b2e..8e916f6 100644 --- a/bash/bashrc-linux +++ b/bash/bashrc-linux @@ -25,9 +25,9 @@ fi #export LANG=en_US.UTF-8 -# Used for vim header -export VIUSER=bchanot -export VIMAIL=bchanot@gmail.fr +# Identity for the vim header; install.sh also writes it into ~/.gitconfig +export USER=bchanot +export EMAIL=bchanot@gmail.fr ## Activate and custom bash completion #bind 'TAB:menu-complete' diff --git a/bash/bashrc-osx b/bash/bashrc-osx index 3695316..a5d98aa 100644 --- a/bash/bashrc-osx +++ b/bash/bashrc-osx @@ -35,9 +35,9 @@ fi #export LANG=en_US.UTF-8 -# Used for vim header -export VIUSER=bchanot -export VIMAIL=bchanot@gmail.fr +# Identity for the vim header; install.sh also writes it into ~/.gitconfig +export USER=bchanot +export EMAIL=bchanot@gmail.fr ## Activate and custom bash completion #bind 'TAB:menu-complete' diff --git a/zsh/zshrc-osx b/zsh/zshrc-osx index 10d2cc9..08a1fd1 100644 --- a/zsh/zshrc-osx +++ b/zsh/zshrc-osx @@ -41,9 +41,9 @@ else SAVEHIST=10000000 fi -# Used for vim header -export VIUSER=bchanot -export VIMAIL=bchanot@gmail.fr +# Identity for the vim header; install.sh also writes it into ~/.gitconfig +export USER=bchanot +export EMAIL=bchanot@gmail.fr # claude-dans-dtach : creer une session (claude tournant dans dtach, detache via Ctrl-\). # Usage : cd ~/projets/seo && cc seo -> session nommee "seo".