Skip to content

Commit

Permalink
fix: ignore PROMPT_DIRTRIM in diffing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Aug 1, 2024
1 parent 90b02eb commit 7b5563c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/env_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ fn valid_key(k: &str) -> bool {
|| k == "SHELLOPTS"
|| k == "COMP_WORDBREAKS"
|| k == "PS1"
|| k == "PROMPT_DIRTRIM"
// following two ignores are for exported bash functions and exported bash
// functions which are multiline, they appear in the environment as e.g.:
// BASH_FUNC_exported-bash-function%%=() { echo "this is an"
Expand Down

0 comments on commit 7b5563c

Please sign in to comment.