summary refs log tree commit diff
path: root/zshrc
blob: 04000f3db1c592586f71da72d4038abb951efee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This is for the interactive shell

# enable colors
autoload -U colors
colors

# I want word boundary to be similar to bash
autoload -U select-word-style
select-word-style bash

# local ret_status="%{$reset_color%}[%(?:%{$fg_bold[green]%}$?:%{$fg_bold[red]%}$?)%{$reset_color%}]"
PROMPT="%1~ %# "
# RPROMPT="${ret_status}"

# load custom aliases
source ~/.aliases

# emacs style
bindkey -e