Skip to content

Commit a2e32f3

Browse files
committed
theme/dulcie: use _command_exists
1 parent eabdf41 commit a2e32f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/dulcie/dulcie.theme.bash

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dulcie_prompt() {
7777
printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"
7878

7979
# Open the new terminal in the same directory
80-
declare -f __vte_osc7 > /dev/null && __vte_osc7
80+
_is_function __vte_osc7 && __vte_osc7
8181

8282
PS1="${reset_color}[${DULCIE_USER}@${DULCIE_HOST}$(scm_prompt_info)${reset_color} ${DULCIE_WORKINGDIR}]"
8383
if [[ "${DULCIE_MULTILINE}" -eq "1" ]]; then

0 commit comments

Comments
 (0)