-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sh
executable file
·56 lines (46 loc) · 1.53 KB
/
init.sh
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
53
54
55
#!/usr/bin/env zsh
#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$( cd "$( dirname "${BASH_SOURCE:-$0}" )" && pwd )"
unsetopt autopushd
# less color and case-insensitive
export LESS=-Ri
# ignore commands that start with space
setopt HIST_IGNORE_SPACE
SPATH=$DIR/scripts
[[ ":$PATH:" != *":$SPATH:"* ]] && PATH="$SPATH:${PATH}"
source $DIR/envs.sh
source $DIR/aliases.zsh
source $DIR/iTerm2-ssh.zsh
source $DIR/antigen.zsh
#source $DIR/.zshrc
# antigen bundles
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle command-not-found
antigen bundle git
antigen bundle npm
antigen bundle pip
antigen bundle rvm
antigen bundle gem # support for Ruby package manager
antigen bundle encode64
antigen bundle colorize # cat with syntax highlight (need python's Pygments)
antigen bundle colored-man-pages
antigen bundle github
antigen bundle brew
antigen bundle osx
antigen bundle rails
antigen bundle ruby
antigen bundle python
antigen bundle capistrano
antigen bundle bundler
antigen apply
#antigen use oh-my-zsh
#antigen use prezto
source $DIR/.zshrc
# echo " _ _ __ _ _ __
# __/\__ _ __ (_) __ __ (_) / _| (_) ___ __| | _ \ \
# \ / | '_ \ | | \ \/ / | | | |_ | | / _ \ / _\` | (_) | |
# /_ _\ | | | | | | > < | | | _| | | | __/ | (_| | _ | |
# \/ |_| |_| |_| /_/\_\ |_| |_| |_| \___| \__,_| (_) | |
# /_/ "
#cat $DIR/.banner