aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorKoichi Murase <myoga.murase@gmail.com>2024-04-17 21:56:07 +0900
committerGitHub <noreply@github.com>2024-04-17 13:56:07 +0100
commit4f26963c9968400e12251be8cf671a5d40680451 (patch)
treeab7b0b25c7d070b5720243ef7e65a3a6ed51afb1 /flake.nix
parentfeat(server): add me endpoint (#1954) (diff)
downloadatuin-4f26963c9968400e12251be8cf671a5d40680451.zip
feat(doctor): detect active preexec framework (#1955)
* feat(doctor): check active preexec framework To check if "blesh" or "bash-preexec" is loaded and active in the current Bash session where `atuin doctor` is called, we make the Atuin integration script for Bash to set the environment variable `ATUIN_PREEXEC_BACKEND` and store a string when it detects "blesh" or "bash-preexec". To check whether the obtained ATUIN_PREEXEC_BACKEND is set by the current session, we record SHLVL in ATUIN_PREEXEC_BACKEND and check if it matches SHLVL of the current process. * feat(doctor): detect the case where Atuin is initialized before blesh
Diffstat (limited to 'flake.nix')
0 files changed, 0 insertions, 0 deletions