vim ~/.zshrc

# ~/.zshrc

# Env setup
export ZSH="$HOME/.oh-my-zsh"

# SSH agent setup (before plugin load)
zstyle :omz:plugins:ssh-agent identities ~/.ssh/id_ed25519
zstyle :omz:plugins:ssh-agent lazy yes
zstyle :omz:plugins:ssh-agent lifetime 4h

# Oh My Zsh config
ZSH_THEME="robbyrussell"
plugins=(debian common-aliases colored-man-pages git fzf grc zoxide ssh-agent)

# Load Oh My Zsh and extra plugins
source $ZSH/oh-my-zsh.sh
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlig
Tags
  1. share history

Tags
  1. apt update
  2. apt install zsh curl wget git vim aptitude
    1. sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    2. sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
  3. plugins omz-plugin-info
    1. vim ~/.zshrc
      • omz reload
    2. omz plugin load debian; o
Tags

Antigen: Another process in running.

rm ~/.antigen/.lock
oder
antigen reset

https://github.com/zsh-users/antigen/issues/543

Tags

Mit diesem Code wird die Tastenkombination Alt + # (Esc + #) verwendet, 
um ein Hashtag am Anfang der aktuellen Zeile einzufügen.

insert_hashtag_at_beginning() {
 BUFFER="#$BUFFER"
 CURSOR=$((CURSOR + 1))
 zle redisplay
}

zle -N insert_hashtag_at_beginning
bindkey '\e#' insert_hashtag_at_beginning
 

Tags