starship
This commit is contained in:
parent
cfea2108de
commit
e80485897d
11
zsh/.zshrc
11
zsh/.zshrc
@ -47,9 +47,12 @@ brew_packages=(
|
|||||||
"spotify"
|
"spotify"
|
||||||
"tailscale"
|
"tailscale"
|
||||||
"visual-studio-code"
|
"visual-studio-code"
|
||||||
|
"starship"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function shell_start_disp {
|
function shell_start_disp {
|
||||||
echo -n $(hostname)
|
echo -n $(hostname)
|
||||||
if [[ -f /sbin/ifconfig ]]
|
if [[ -f /sbin/ifconfig ]]
|
||||||
@ -159,3 +162,11 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
|||||||
zstyle ':completion:*' menu no
|
zstyle ':completion:*' menu no
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
||||||
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
||||||
|
|
||||||
|
# Check Starship is installed
|
||||||
|
if which starship &> /dev/null
|
||||||
|
then
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
else
|
||||||
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user