Oh-my-zshell config file

~/.zshrc

plugins=(
  git
  npm
  vi-mode
  jira
)

source $ZSH/oh-my-zsh.sh

# aliases
alias npmr="npm run"
alias zs="source ~/.zshrc"

# include Z
. /usr/local/etc/profile.d/z.sh

# ctrl-r starts searching history backward
bindkey '^r' history-incremental-search-backward
bindkey '^P' up-history
bindkey '^N' down-history

export NVM_DIR="$HOME/.nvm"
  . "$(brew --prefix nvm)/nvm.sh"

# open terminal in code directory
cd /Users/jorge/Code

# Jira plugin
export JIRA_URL="https://obsidiansec.atlassian.net"
export JIRA_NAME="Jorge"

Plugins

Themes

Power Level Theme

Theme powerlevel9k

# Power Level theme - Settings
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='nerdfont-complete'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir rbenv vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(vi_mode status root_indicator background_jobs history time)

# Or for hyper-star-wars using Hyper https://github.com/klauscfhq/hyper-star-wars/blob/master/readme.md

hyper star wars (using Hyper)

hyper-star-wars

~/.zshrc
# ~/.zshrc

ZSH_THEME=""

# initialize pure prompt https://github.com/sindresorhus/pure
autoload -U promptinit; promptinit
prompt pure
~/.hyper.js
module.exports = {
      fontSize: 14,
      fontFamily: '"Roboto Mono", monospace, "PowerlineSymbols"',
      copyOnSelect: 'true',
      StarWarsTheme: {
            character: 'random', // Define your favorite star wars character
            // lightsaber: 'true', // Activate your theme's lightsaber mode
            // unibody: 'false', // Define the color of the Hyper window header
            // avatar: 'true'  // Activate your theme's background avatar
    },
    plugins: ["hyper-star-wars"],
}

npm autocomplete

Then append npm completion to have autocomplete.

npm completion >> ~/.zshrc

results matching ""

    No results matching ""