Benutzer-Werkzeuge

Webseiten-Werkzeuge


freebsd:zsh

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

freebsd:zsh [2019/06/29 23:33] (aktuell)
Zeile 1: Zeile 1:
 +====== ZSH ======
 +<code console>
 +pkg install zsh zsh-completions zsh-antigen zsh-autosuggestions autojump
 +</​code>​
  
 +Start zsh:
 +<code console>
 +zsh
 +</​code>​
 +
 +Set the following in you .zshrc:
 +<​code>​
 +source /​usr/​local/​share/​zsh-antigen/​antigen.zsh
 +
 +# Nice collection:
 +# https://​github.com/​unixorn/​awesome-zsh-plugins
 +
 +# Download font from:
 +# https://​github.com/​powerline/​fonts
 +# Install on Windows:
 +# Open Admin PowerShell
 +# Set-ExecutionPolicy Bypass
 +# .\install.ps1
 +# Set-ExecutionPolicy Default
 +# Maybe use font "Menlo for Powerline",​ 9pt
 +
 +# Load the oh-my-zsh'​s library.
 +antigen use oh-my-zsh
 +
 +# Bundles from the default repo (robbyrussell'​s oh-my-zsh).
 +antigen bundle git
 +antigen bundle heroku
 +antigen bundle pip
 +antigen bundle lein
 +antigen bundle command-not-found
 +antigen bundle autojump
 +#antigen bundle brew
 +antigen bundle common-aliases
 +antigen bundle compleat
 +antigen bundle git-extras
 +antigen bundle git-flow
 +antigen bundle npm
 +antigen bundle node
 +#antigen bundle osx
 +antigen bundle web-search
 +antigen bundle z
 +antigen bundle zsh-users/​zsh-syntax-highlighting
 +antigen bundle zsh-users/​zsh-history-substring-search ./​zsh-history-substring-search.zsh
 +
 +# NVM bundle
 +#export NVM_LAZY_LOAD=true
 +#antigen bundle lukechilds/​zsh-nvm
 +#antigen bundle Sparragus/​zsh-auto-nvm-use
 +
 +# Syntax highlighting bundle.
 +antigen bundle zsh-users/​zsh-syntax-highlighting
 +
 +# Load the theme.
 +antigen theme https://​github.com/​wesbos/​Cobalt2-iterm cobalt2
 +#antigen theme https://​github.com/​agnoster/​agnoster-zsh-theme agnoster
 +
 +# Tell Antigen that you're done.
 +antigen apply
 +
 +# Setup zsh-autosuggestions
 +source /​usr/​local/​share/​zsh-autosuggestions/​zsh-autosuggestions.zsh
 +
 +# Load custom aliases
 +[[ -s "​$HOME/​.bash_aliases"​ ]] && source "​$HOME/​.bash_aliases"​
 +</​code>​
 +
 +Switch the shell:
 +<code console>
 +chsh -s /​usr/​local/​bin/​zsh
 +</​code>​
freebsd/zsh.txt · Zuletzt geändert: 2019/06/29 23:33 (Externe Bearbeitung)