From ab5dd481633697b3a856b68ff67c32a386ddaeca Mon Sep 17 00:00:00 2001 From: Ariel Barreiro Date: Fri, 19 Apr 2024 14:36:00 -0300 Subject: [PATCH] Remove __fzf_ from window title --- .ddev/addon-metadata/pimp-my-shell/manifest.yaml | 2 +- .ddev/homeadditions/.bashrc.d/pimp-my-shell.sh | 3 +++ homeadditions/.bashrc.d/pimp-my-shell.sh | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.ddev/addon-metadata/pimp-my-shell/manifest.yaml b/.ddev/addon-metadata/pimp-my-shell/manifest.yaml index a520a77..d715089 100644 --- a/.ddev/addon-metadata/pimp-my-shell/manifest.yaml +++ b/.ddev/addon-metadata/pimp-my-shell/manifest.yaml @@ -1,7 +1,7 @@ name: pimp-my-shell repository: . version: "" -install_date: "2024-04-19T14:26:39-03:00" +install_date: "2024-04-19T14:32:38-03:00" project_files: - web-build/Dockerfile.pimp-my-shell - homeadditions/.bashrc.d/pimp-my-shell.sh diff --git a/.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh b/.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh index fcfc1ec..5b585ff 100644 --- a/.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh +++ b/.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh @@ -34,6 +34,9 @@ function set_win_title(){ if [[ $@ == *"starship_precmd"* ]]; then return fi + if [[ $@ == *"__fzf_"* ]]; then + return + fi # Shortening $PWD # /var/www/html -> /v/w/html local short_pwd=$(echo "$PWD" | sed 's/\([^\/]\)[^\/]*\//\1\//g') diff --git a/homeadditions/.bashrc.d/pimp-my-shell.sh b/homeadditions/.bashrc.d/pimp-my-shell.sh index fcfc1ec..5b585ff 100644 --- a/homeadditions/.bashrc.d/pimp-my-shell.sh +++ b/homeadditions/.bashrc.d/pimp-my-shell.sh @@ -34,6 +34,9 @@ function set_win_title(){ if [[ $@ == *"starship_precmd"* ]]; then return fi + if [[ $@ == *"__fzf_"* ]]; then + return + fi # Shortening $PWD # /var/www/html -> /v/w/html local short_pwd=$(echo "$PWD" | sed 's/\([^\/]\)[^\/]*\//\1\//g')