30 lines
759 B
Bash
30 lines
759 B
Bash
[[ -o interactive && ! -o login && -z $TMUX ]] &&
|
|
exec tmux new-session
|
|
|
|
HISTFILE=~/.zsh/hist
|
|
HISTSIZE=100000
|
|
SAVEHIST=10000
|
|
|
|
setopt appendhistory extendedglob nomatch prompt_subst correct
|
|
unsetopt autocd beep
|
|
|
|
bindkey -e
|
|
bindkey "${terminfo[khome]}" beginning-of-line
|
|
bindkey "${terminfo[kend]}" end-of-line
|
|
|
|
zstyle :compinstall filename '/home/marrub/.zshrc'
|
|
zstyle ':completion:*' format '[Completing %d]'
|
|
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
|
autoload -Uz compinit
|
|
compinit
|
|
|
|
alias rebuild=$HOME/src/scripts/rebuild.sh
|
|
alias ls='ls --color=auto'
|
|
|
|
PROMPT='%#'
|
|
RPROMPT='%2~'
|
|
|
|
[[ -n $TMUX ]] &&
|
|
echo "Word of the moment: $(shuf -n1 /usr/share/dict/words)" |
|
|
awk -f ~/src/scripts/mid.awk col=$COLUMNS
|