# source all other zsh files if [ -f ~/.zsh_environment ] then source ~/.zsh_environment fi #for accounts whithout root if [ -f ~/.zsh_grml ] then source ~/.zsh_grml fi #for untrusted machines if [ -f ~/.zsh_sensitive ] then source ~/.zsh_sensitive fi source ~/.zsh_functions export EDITOR=vim export SYSTEMD_EDITOR=vim alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)' alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot' alias open='xdg-open' #overwrite "default(?)" with my own function alias cdt='cdtemp' alias gst='git status' alias gdf='git diff' alias gdfs='git diff --staged' alias gad='git add' alias gcm='git commit' alias resource='source ~/.zshrc' alias poweroff='sudo poweroff' alias reboot='sudo reboot' alias n='ninja' alias m='make -j$(nproc)' alias cmake='cmake -G Ninja' alias sysupgrade='sudo pacman -Syu; auracle sync' alias v='vim' alias ls='ls --color=auto' export PATH=$PATH:~bin:~/.local/bin if [ -f /usr/share/doc/pkgfile/command-not-found.zsh ] then source /usr/share/doc/pkgfile/command-not-found.zsh fi if [ -f /usr/bin/virtualenvwrapper_lazy.sh ] then # Automatically source virtualenv source /usr/bin/virtualenvwrapper_lazy.sh fi if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] then source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh fi # displaying current virtual env grml_theme_add_token virtual-env -f virtual_env_prompt '%F{magenta}' '%f' zstyle ':prompt:grml:left:setup' items rc virtual-env change-root user at host path vcs percent