fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:ohmyzsh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ohmyzsh [2022/11/16 18:53] – external edit 127.0.0.1linux:ohmyzsh [2024/03/16 16:13] (current) – [Plugins] gsys
Line 3: Line 3:
  
 <code> <code>
-apt update +sudo apt update 
-apt install zsh curl git+sudo apt install zsh curl git
 sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
 </code> </code>
 +
 +Standard-Shell ändern:
 +<code>
 +chsh -s $(which zsh)
 +</code>
 +===== Plugins =====
 +
 +''nano ~/.zshrc''
 +<code>
 +ZSH_THEME="duellj"
 +plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting)
 +</code>
 +
 +==== Welcome Message ====
 +:!: Benötigt ''neofetch'' \\
 +:!: ''sudo apt update && sudo apt install neofetch''
 +
 +{{:linux:neofetch.png?600|}}
 +
 +Ans Ende der ''~/.zshrc'' anfügen:
 +<code>
 +# welcome message
 +
 +echo
 +echo
 +neofetch
 +echo
 +</code>
 +
 +==== zsh-autosuggestions ====
 +
 +<code>
 +git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
 +</code>
 +
 +''~/.zshrc'' bearbeiten
 +<code>
 +plugins=( 
 +    # andere plugins...
 +    zsh-autosuggestions
 +)
 +</code>
 +
 +==== zsh-syntax-highlighting ====
 +
 +<code>
 +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
 +</code>
 +
 +''~/.zshrc'' bearbeiten
 +<code>
 +plugins=( 
 +    # andere plugins...
 +    zsh-syntax-highlighting
 +)
 +</code>
 +
linux/ohmyzsh.1668621231.txt.gz · Last modified: 2024/02/17 19:03 (external edit)