forked from ivyl/zsh-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.zsh
53 lines (43 loc) · 922 Bytes
/
config.zsh
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#HISTORY
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1717
setopt inc_append_history
setopt extended_history
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt hist_reduce_blanks
setopt hist_verify
setopt hist_allow_clobber
#ZSH OPTS
setopt noclobber
setopt extendedglob
setopt correct correctall
setopt autolist
setopt auto_resume
setopt short_loops #for file in *.pdf; lp ${file}
unset beep
set nobeep
#LOAD PROFILE
if [ -x /etc/profile ]; then
setopt -G
. /etc/profile
setopt +G
fi
#PATH
PATH="$PATH:$HOME/.bin"
#EDITORS
export EDITOR='vim'
export VISUAL='vim'
#PAGER
export PAGER='less'
export LESS=-ex3MRXSF
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;47;30m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
#loading functions
autoload -Uz zmv