Skip to content

Commit

Permalink
Remove __fzf_ from window title
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Apr 19, 2024
1 parent 64b67b6 commit ab5dd48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ddev/addon-metadata/pimp-my-shell/manifest.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions .ddev/homeadditions/.bashrc.d/pimp-my-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 3 additions & 0 deletions homeadditions/.bashrc.d/pimp-my-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ab5dd48

Please sign in to comment.