File: dot.zshrc

package info (click to toggle)
language-env 0.64
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,588 kB
  • ctags: 125
  • sloc: perl: 6,243; makefile: 83; tcl: 64; sh: 18
file content (31 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (4)
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
26
27
28
29
30
31
# s comment -*-coding: tis-620;-*-
Executed when zsh is invoked.
END
Executed when zsh is invoked.
END
#
#.zshrc part for Thai environment
#
# Setting ls options, alias, and friends

# less is better than more, can habdle thai characters
export LESSOPEN="| /usr/bin/lesspipe '%s'";`
export LESSCLOSE="/usr/bin/lesspipe '%s' '%s'";
export LESSCHARSET=iso8859;

# Bind Home and End keys, for some terminal programs that use them diffrently
bindkey "^[[1~" beginning-of-line
bindkey "^[[4~" end-of-line
bindkey "^[OH" beginning-of-line
bindkey "^[OF" end-of-line
bindkey "^[[7~" beginning-of-line
bindkey "^[[8~" end-of-line

# Set locale to Thai
case $COLORTERM in
  xiterm)
    export LANG=th_TH
    ;;
  *)
    ;;
esac