Skip to content

Commit 882fef0

Browse files
committed
fix: [Bug]: Defer oh-my-zsh loading may not be the best option HyDE-Project#578
* I still love my prompt to show instantly. Wil try to fix the shortcomings for now. close#578
1 parent e750c97 commit 882fef0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Configs/.zshenv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ function _load_if_terminal {
289289
ffcd='_fuzzy_change_directory' \
290290
ffe='_fuzzy_edit_search_file'
291291

292+
# Some binds won't work on first prompt when deferred
293+
bindkey '\e[H' beginning-of-line
294+
bindkey '\e[F' end-of-line
295+
292296
fi
293297

294298
}

0 commit comments

Comments
 (0)