summaryrefslogtreecommitdiff
path: root/zshrc
blob: 52f9a1f38b0227c14eccc2a3045a26c488eef1cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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="${ret_status} %1~ %# "

# load custom aliases
source ~/.aliases

# emacs style
bindkey -e