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 [2023/01/20 23:09] – [zsh-autosuggestions] gsyslinux: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 ===== ===== 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 ==== ==== zsh-autosuggestions ====
Line 16: Line 42:
 </code> </code>
  
-''~/.zshrc''+''~/.zshrc'' bearbeiten
 <code> <code>
 plugins=(  plugins=( 
-    # other plugins...+    # andere plugins...
     zsh-autosuggestions     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> </code>
  
linux/ohmyzsh.1674252591.txt.gz · Last modified: (external edit)