zsh: add explicit starship init
This commit is contained in:
@@ -4,6 +4,8 @@ export ZSH_CONFIG=$HOME/.config/zsh
|
|||||||
|
|
||||||
source $OHMYZSH/oh-my-zsh.sh
|
source $OHMYZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
command -v starship >/dev/null && eval "$(starship init zsh)" 2>/dev/null
|
||||||
|
|
||||||
# eza hyperlink workaround: oh-my-zsh's bare --hyperlink eats the next arg on newer eza.
|
# eza hyperlink workaround: oh-my-zsh's bare --hyperlink eats the next arg on newer eza.
|
||||||
_hl_flag="--hyperlink"
|
_hl_flag="--hyperlink"
|
||||||
if command -v eza >/dev/null && eza --help 2>&1 | grep -q -- '--hyperlink.*<WHEN>'; then
|
if command -v eza >/dev/null && eza --help 2>&1 | grep -q -- '--hyperlink.*<WHEN>'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user