Skip to content

Commit

Permalink
fix(zsh): tr non empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroSuero committed Mar 28, 2024
1 parent de0547a commit d46c39b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/zsh/files/os/Archlinux/os_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _paste() {
}

_get_default_browser() {
default_browser=$(xdg-settings get default-web-browser | tr ".desktop" "")
default_browser=$(xdg-settings get default-web-browser | tr ".desktop" " ")
echo default_browser
}

Expand Down
2 changes: 1 addition & 1 deletion roles/zsh/files/os/Ubuntu/os_function.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _paste() {
}

_get_default_browser() {
default_browser=$(xdg-settings get default-web-browser | tr ".desktop" "")
default_browser=$(xdg-settings get default-web-browser | tr ".desktop" " ")
echo default_browser
}

Expand Down

0 comments on commit d46c39b

Please sign in to comment.