Shell (zsh)

Modern Shell-Setup mit Oh-My-Zsh.

Installation

apt install zsh fzf grc curl wget git vim zoxide zsh-autosuggestions zsh-syntax-highlighting python3-pygments fonts-powerline tree

Oh-My-Zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Plugins

omz plugin load fzf common-aliases colored-man-pages colorize extract z zoxide debian grc systemd
omz plugin enable fzf zoxide extract common-aliases colored-man-pages colorize z debian grc systemd

Powerlevel10k Theme

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
sed -i 's/^ZSH_THEME=.*/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc

Zusätzliche Pakete für extract

sudo apt install unzip p7zip-full unrar-free tar gzip bzip2 xz-utils

GRC Aliases

alias ping='grc ping'
alias netstat='grc netstat'
alias mount='grc mount'
alias make='grc make'
alias traceroute='grc traceroute'
alias ifconfig='grc ifconfig'
alias ldd='grc ldd'
alias diff='grc diff'
alias gcc='grc gcc'
alias ip='grc ip'
alias ps='grc ps'
alias dmesg='grc dmesg'
alias journalctl='grc journalctl'
alias df='grc df'
alias du='grc du'
alias lsmod='grc lsmod'
alias vmstat='grc vmstat'
alias dig='grc dig'
alias stat='grc stat'
alias ss='grc ss'
alias nmap='grc nmap'
alias systemctl='grc systemctl'

Zurück zur System-Übersicht