davidfreina

.zshrc

Aug 2nd, 2021 (edited)
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.93 KB | None | 0 0
  1. # Created by newuser for 5.8
  2. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
  3. # Initialization code that may require console input (password prompts, [y/n]
  4. # confirmations, etc.) must go above this block, everything else may go below.
  5. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  6.   source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
  7. fi
  8.  
  9. # Lines configured by zsh-newuser-install
  10. HISTFILE=~/.histfile
  11. HISTSIZE=10000
  12. SAVEHIST=1000
  13. setopt appendhistory autocd nomatch notify
  14. unsetopt beep
  15. bindkey -e
  16. # End of lines configured by zsh-newuser-install
  17. # The following lines were added by compinstall
  18. zstyle :compinstall filename '/home/energiefreund/.zshrc'
  19.  
  20. autoload -Uz compinit
  21. compinit
  22. # End of lines added by compinstall
  23.  
  24. ####################################
  25. #          A N T I D O T E         #
  26. ####################################
  27.  
  28. # Prerequisite for P10K
  29. autoload -Uz promptinit
  30. promptinit
  31.  
  32. # Load antigen
  33. source ~/.antidote/antidote.zsh
  34. antidote load $HOME/.zsh_plugins.txt
  35.  
  36. # Custom aliases
  37. alias projekt="cd /var/lib/atvise"
  38. alias atlog="watch tail /var/lib/atvise/atserver_std.log -n"
  39. alias atstart="sudo systemctl start atvise"
  40. alias atstop="sudo systemctl stop atvise"
  41. alias atrestart="sudo systemctl restart ativse"
  42. alias atdo="sudo -u atvise"
  43. alias l="ls -lah"
  44. alias atconstart="sudo systemctl start atviseconfigserver.service atviseconnect.service atviselogger.service atviseconnect_init.service"
  45. alias atconstop="sudo systemctl stop atviseconfigserver.service atviseconnect.service atviselogger.service atviseconnect_init.service"
  46. alias atconrestart="atconstop && atconstart"
  47. alias remdbg="ssh -i ~/.ssh/energiefreund-irp -L 0.0.0.0:9223:localhost:9222 localhost -N"
  48.  
  49. export PATH=$HOME/.local/bin:$PATH
  50.  
  51. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
  52. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
Advertisement
Add Comment
Please, Sign In to add comment