# Created by newuser for 5.8 # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block, everything else may go below. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=1000 setopt appendhistory autocd nomatch notify unsetopt beep bindkey -e # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/home/energiefreund/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall #################################### # A N T I D O T E # #################################### # Prerequisite for P10K autoload -Uz promptinit promptinit # Load antigen source ~/.antidote/antidote.zsh antidote load $HOME/.zsh_plugins.txt # Custom aliases alias projekt="cd /var/lib/atvise" alias atlog="watch tail /var/lib/atvise/atserver_std.log -n" alias atstart="sudo systemctl start atvise" alias atstop="sudo systemctl stop atvise" alias atrestart="sudo systemctl restart ativse" alias atdo="sudo -u atvise" alias l="ls -lah" alias atconstart="sudo systemctl start atviseconfigserver.service atviseconnect.service atviselogger.service atviseconnect_init.service" alias atconstop="sudo systemctl stop atviseconfigserver.service atviseconnect.service atviselogger.service atviseconnect_init.service" alias atconrestart="atconstop && atconstart" alias remdbg="ssh -i ~/.ssh/energiefreund-irp -L 0.0.0.0:9223:localhost:9222 localhost -N" export PATH=$HOME/.local/bin:$PATH # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh