aboutsummaryrefslogtreecommitdiff
path: root/zsh/dot-zshrc
blob: 62e4777f4f2d09d95ea11fd65ff09baf6e5fb309 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PS1="%% "
RPS1="[%F{blue}%B%~%b%f]"

# history settings
HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000
SAVEHIST=10000
setopt hist_ignore_all_dups
setopt hist_find_no_dups

# shell options
setopt transientrprompt
setopt nomatch
bindkey -e

case $TERM in
    xterm*)
        precmd () {print -Pn "\e]0;%n@%m: %~\a"}
        ;;
esac

alias ls="ls --color"

export EDITOR="nvim"
export PAGER="less"