-
Star
(206)
You must be signed in to star a gist -
Fork
(51)
You must be signed in to fork a gist
-
-
Save diego3g/b0513d5ff6d9d983c48bed3fd8f10cdb to your computer and use it in GitHub Desktop.
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export ANDROID_HOME=~/Android/Sdk | |
export PATH="$PATH:$ANDROID_HOME/tools" | |
export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/diegofernandes/.oh-my-zsh" | |
export PATH="$PATH:/usr/local/bin" | |
export PATH="$HOME/.fastlane/bin:$PATH" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="spaceship" | |
# Set list of themes to pick from when loading at random | |
# Setting this variable when ZSH_THEME=random will cause zsh to load | |
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ | |
# If set to an empty array, this variable will have no effect. | |
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) | |
# Uncomment the following line to use case-sensitive completion. | |
# CASE_SENSITIVE="true" | |
# Uncomment the following line to use hyphen-insensitive completion. | |
# Case-sensitive completion must be off. _ and - will be interchangeable. | |
# HYPHEN_INSENSITIVE="true" | |
# Uncomment the following line to disable bi-weekly auto-update checks. | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment the following line to change how often to auto-update (in days). | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment the following line to disable colors in ls. | |
# DISABLE_LS_COLORS="true" | |
# Uncomment the following line to disable auto-setting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment the following line to enable command auto-correction. | |
# ENABLE_CORRECTION="true" | |
# Uncomment the following line to display red dots whilst waiting for completion. | |
# COMPLETION_WAITING_DOTS="true" | |
# Uncomment the following line if you want to disable marking untracked files | |
# under VCS as dirty. This makes repository status check for large repositories | |
# much, much faster. | |
# DISABLE_UNTRACKED_FILES_DIRTY="true" | |
# Uncomment the following line if you want to change the command execution time | |
# stamp shown in the history command output. | |
# You can set one of the optional three formats: | |
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | |
# or set a custom format using the strftime function format specifications, | |
# see 'man strftime' for details. | |
# HIST_STAMPS="mm/dd/yyyy" | |
# Would you like to use another custom folder than $ZSH/custom? | |
# ZSH_CUSTOM=/path/to/new-custom-folder | |
# Which plugins would you like to load? | |
# Standard plugins can be found in ~/.oh-my-zsh/plugins/* | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=( | |
git | |
) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# ssh | |
# export SSH_KEY_PATH="~/.ssh/rsa_id" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
# | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
### Added by Zplugin's installer | |
source '/Users/diegofernandes/.zplugin/bin/zplugin.zsh' | |
autoload -Uz _zplugin | |
(( ${+_comps} )) && _comps[zplugin]=_zplugin | |
### End of Zplugin's installer chunk | |
zplugin light zdharma/fast-syntax-highlighting | |
zplugin light zsh-users/zsh-autosuggestions | |
zplugin light zsh-users/zsh-history-substring-search | |
zplugin light zsh-users/zsh-completions | |
zplugin light buonomo/yarn-completion | |
pasteinit() { | |
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? | |
} | |
pastefinish() { | |
zle -N self-insert $OLD_SELF_INSERT | |
} | |
zstyle :bracketed-paste-magic paste-init pasteinit | |
zstyle :bracketed-paste-magic paste-finish pastefinish | |
SPACESHIP_PROMPT_ORDER=( | |
user # Username section | |
dir # Current directory section | |
host # Hostname section | |
git # Git section (git_branch + git_status) | |
hg # Mercurial section (hg_branch + hg_status) | |
exec_time # Execution time | |
line_sep # Line break | |
vi_mode # Vi-mode indicator | |
jobs # Background jobs indicator | |
exit_code # Exit code section | |
char # Prompt character | |
) | |
SPACESHIP_USER_SHOW=always | |
SPACESHIP_PROMPT_ADD_NEWLINE=false | |
SPACESHIP_CHAR_SYMBOL="❯" | |
SPACESHIP_CHAR_SUFFIX=" " | |
# Simplify prompt if we're using Hyper | |
if [[ "$TERM_PROGRAM" == "Hyper" ]]; then | |
SPACESHIP_PROMPT_SEPARATE_LINE=false | |
SPACESHIP_DIR_SHOW=false | |
SPACESHIP_GIT_BRANCH_SHOW=false | |
fi |
Muito bom! Parabéns Diego Fernandes
Alguém sabe o nome do plugin que o Diego vem utilizando nos ultimos vídeos que conforme ele vai digitando, aparece um popover em baixo mostrando o que faz aquele comando, seu significado, e quando procura pastas ele mostra quais as pastas estão disponíveis.
Consegui achar o nome do plugin, se chama Fig e atualmente está disponível apenas para Mac, porém os devs já estão migrando para Linux e Windows também.
Para quem quiser saber mais do projeto é só acessar o link https://fig.io/
Para quem estiver vendo este vídeo em 2022 como eu, na parte dos plugins para instalar o Zinit sigam este repositório:
https://github.com/zdharma-continuum/zinit#install
Pois os outros repositórios já não existem.
Depois sigam as instruções de cada plugin nos seguintes repositórios:
https://github.com/zdharma-continuum/fast-syntax-highlighting#installation
Nesse sigam o título Oh My Zsh:
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
Nesse sigam o título zinit:
https://github.com/zsh-users/zsh-completions
Para o pessoal que estiver vendo em 2022, o meu estava dando problemas com o zinit, fiz dessa forma e funcionou. Esse é o passo a passo, desde o começo.
#instala o zsh
sudo apt install zsh
#reinicie o terminal
#instala o ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#reinicie o terminal
#instala a fonte FiraCode
sudo apt install fonts-firacode
#instala o spaceship
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
#configura o spaceship no .zshrc
ZSH_THEME="spaceship"
#reinicie o terminal
/* no final do .zshrc adicionar essas configurações
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL="❯"
SPACESHIP_CHAR_SUFFIX=" "
*/
#reinicie o terminal
#instala o zinit
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
#reinicie o terminal
#usar esse comando
zinit self-update
adicione no finaldo arquivo .zshrc
End of ZInit's installer chunk
zinit light zdharma/fast-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-completions
#reinicie o terminal
Deu bom aqui para o erro que eu estava tendo também, valeu @Douug019
Obrigado @Douug019!
Não é um comando, é o arquivo
da
sudo nano ~/.zshrc
Olá pessoal, segui todos os passos e tutoriais que ja encontrei, após instalar o oh-my-zsh o terminal parou de reconhecer todos os comandos como yarn, npm e etc do meu Mac, alguem sabe como resolver?
O Starship é uma excelente alternativa ao Spaceship e não requer muita configuração
eu não consigo rodar o node, aparece o erro - zsh: command not found: node
alguem abe como resolver isso?
Alguém pode me ajuda, ta aparecendo o seguinte Warning " the 'vi_mode' section was not found. Removing it from the prompt.",
já olhei em tudo que é canto mas nao consigo arrumar.
Meu .ZSHRC
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="spaceship"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
### Added by Zinit's installer
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit"
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \
print -P "%F{33} %F{34}Installation successful.%f%b" || \
print -P "%F{160} The clone has failed.%f%b"
fi
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
### End of Zinit's installer chunk
zinit self-update
zinit light zdharma/fast-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-completions
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL="❯"
SPACESHIP_CHAR_SUFFIX=" "
Warning " the 'vi_mode' section was not found. Removing it from the prompt.
Opa @AlyssonBormann, parece que após algumas atualizações do spaceship, não está mais vindo o vi-mode no core...
Para resolver isso, você pode instalar deste repositório Spaceship-Vi-Mode e seguir o passo a passo de instalação cuidando pra se atentar com essa parte:
Note: For oh-my-zsh users with vi-mode plugin enabled: Add
export RPS1="%{$reset_color%}"
beforesource $ZSH/oh-my-zsh.sh
in.zshrc
to disable default<<<
NORMAL mode indicator in right prompt.
Pra mim, resolveu aqui. Qualquer coisa dá um salve ai.
Olá pessoal, segui todos os passos e tutoriais que ja encontrei, após instalar o oh-my-zsh o terminal parou de reconhecer todos os comandos como yarn, npm e etc do meu Mac, alguem sabe como resolver?
Estou com o mesmo problema. Você conseguiu resolver?
Olá pessoal, segui todos os passos e tutoriais que ja encontrei, após instalar o oh-my-zsh o terminal parou de reconhecer todos os comandos como yarn, npm e etc do meu Mac, alguem sabe como resolver?
Estou com o mesmo problema. Você conseguiu resolver?
Cara, não me lembro ao certo, mas tive que desinstalar tudo e reinstalar começando com o oh-my-zsh.
Olá pessoal, segui todos os passos e tutoriais que ja encontrei, após instalar o oh-my-zsh o terminal parou de reconhecer todos os comandos como yarn, npm e etc do meu Mac, alguem sabe como resolver?
Estou com o mesmo problema. Você conseguiu resolver?
Resolvi apenas inserindo a informação de plugin,,,
Substitui a linha que contém:
plugins=(git) por plugins=(git spaceship-vi-mode)
Feito isso reinicie o terminal
sh -c "$(curl -fsSL https://git.io/zinit-install)"
Obrigadoooo! Agora sim da certo 😁
Meu terminal não mostra quando entro no ambiente virtual, alguém tem alguma ideia do que pode ser?
eu consegui instalar corretamente o WSL e o OH MY ZSH, quando eu instalei o ZINIT o terminal simplesmente tirou todas as minhas permissões de acessar os arquivos que estão no diretório "/home" e do diretório do meu usuário que eu criei "/onathanmateus"....
Meu problerma é que depois que fiz todo o passo a passo, surgiu essa mensagem:
Warning! The 'vi_mode' section was not found. Removing it from the prompt.
Estou tentando achar a solução! Se allguém tiver passado por isso me ajude!!!!!!:(
Meu problerma é que depois que fiz todo o passo a passo, surgiu essa mensagem: Warning! The 'vi_mode' section was not found. Removing it from the prompt. Estou tentando achar a solução! Se allguém tiver passado por isso me ajude!!!!!!:(
@Sonafa Eu comentei essa seção do vi, eu uso o nano como editor padrão.
Meu problerma é que depois que fiz todo o passo a passo, surgiu essa mensagem: Warning! The 'vi_mode' section was not found. Removing it from the prompt. Estou tentando achar a solução! Se allguém tiver passado por isso me ajude!!!!!!:(
é so remover o 'vi_mode'
na parte de SPACESHIP_PROMPT_ORDER
Eu queria muito entender essa config que o @diego3g faz no zshrc para aparecer isto. Eu inseri no meu zshrc o seguinte.
É o que consta na doc mas não aparece igual a do diego. Alguém sabe ??
SPACESHIP_NODE_SHOW=true
SPACESHIP_NODE_PREFIX="Node "
SPACESHIP_NODE_SUFFIX=" "
SPACESHIP_NODE_SYMBOL="⬢ "
SPACESHIP_NODE_COLOR="green"
Eu encontrei. O problema estava no prompt_order que não tinha node na ordenação. Além dele inseri o identificador do version package do projeto e tudo solucionou.
Atualmente está assim o meu terminal.
@wagaodev fala Wag, to tendo o mesmo problema aqui, o que exatamente vc fez pra resolver?
@wagaodev fala Wag, to tendo o mesmo problema aqui, o que exatamente vc fez pra resolver?
ordem do prompt precisa estar mostrando o node, então caso o teu não tenha node dentro adiciona que proavavelmente resolverá.
Além disso, pode adicionar isto
SPACESHIP_NODE_SHOW=true
SPACESHIP_NODE_SUFFIX=" ➜ "
SPACESHIP_NODE_PREFIX=""
SPACESHIP_NODE_COLOR="green"
Pessoal, vejam, aqui no meu .zshrc esta assim.
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="spaceship"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
# User configuration
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
package # Package version
node # Node.js section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL="❯"
SPACESHIP_CHAR_SUFFIX=" "
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mate ~/.oh-my-zsh"
alias dckimg="docker images"
PATH=~/.console-ninja/.bin:$PATH
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

mas o meu terminal não pega esses simbolos:

o que posso ter feito de errado ?
@Eurico77 Pega a linha export ZSH="$HOME/.oh-my-zsh"
e coloca ela depois da linha SPACESHIP_CHAR_SUFFIX=" "
Para quem estiver vendo este vídeo em 2022 como eu, na parte dos plugins para instalar o Zinit sigam este repositório:
sh -c "$(curl -fsSL https://git.io/zinit-install)"