# 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=500 SAVEHIST=750 setopt autocd notify unsetopt beep bindkey -e # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/home/aro/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme path+=('/home/aro/.local/bin') # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # (20/10/22, Aro) Export DBUS_SESSION_BUS_ADDRESS for Napster. export $(dbus-launch) export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" # CUSTOM GIT SHORTCUTS alias grma="git remote add" alias gs="git status" alias ga='git add .' alias gp="git push" alias gc='git commit' alias gcom='git checkout master' alias gcob='git checkout -b' alias gcm='git commit --message' alias glg='git log --graph --oneline --decorate --all' alias gld='git log --pretty=format:"%h %ad %s" --date=short --all'