autofw/.zshrc

31 lines
701 B
Bash

# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/emg/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
alias l=less m=more
alias ll='ls -l'
alias vi=vim
alias vg='valgrind --leak-check=full --show-leak-kinds=all --gen-suppressions=all'
ulimit -c unlimited
git_prompt() {
git branch --color=never |& grep -v "Not a git" | grep '^\*' | head -1 | tr -d '*' | tr ' ' '@'
}
setopt prompt_subst
autoload -U promptinit
promptinit
PS1='%n@%m:%~$(git_prompt)>'
RPS1='%T'
export TZ=CET