xonecas.io
2780
D2

dotfiles-2014 / commit 5b070c3

Remove the zsh config part.

Sean2015-05-06 5b070c3b0fd2e9c947ebd48900ff764a8e2111da parent 3be81e2

1 file changed

install.py+6−36
@@ -23,9 +23,7 @@ PWD = dirname(__file__)
2323
2424 VIMRC = join(HOME, ".vimrc")
2525 VIM = join(HOME, ".vim")
26-ZSHRC = join(HOME, ".zshrc")
27-ZSH = join(HOME, ".oh-my-zsh")
28-
26+TMUX_CONF = join(HOME, ".tmux.conf")
2927
3028 def clean():
3129 """ This rests everything """
@@ -36,11 +34,8 @@ def clean():
3634 if exists(VIM):
3735 rmtree(VIM)
3836
39- if exists(ZSHRC):
40- remove(ZSHRC)
41-
42- if exists(ZSH):
43- rmtree(ZSH)
37+ if exists(TMUX_CONF):
38+ remove(TMUX_CONF)
4439
4540
4641 def create_vim_bundle():
@@ -87,44 +82,19 @@ def setup_vim():
8782 copyfile(join(PWD, "vimrc"), VIMRC)
8883
8984
90-def install_ohmyzsh():
91- """ installs oh-my-zsh """
92-
93- call(["git",
94- "clone",
95- "https://github.com/robbyrussell/oh-my-zsh.git",
96- ZSH])
97- copyfile(join(PWD, "zshrc"), ZSHRC)
98- print "Don't forget to set your SHELL: chsh -s /bin/zsh"
99-
100-
101-def setup_zsh():
102- """ moves the file into the correct place """
103-
104- theme_folder = join(HOME, ".oh-my-zsh", "custom", "themes")
105-
106- copyfile(join(PWD, "zshrc"), ZSHRC)
107-
108- if not exists(theme_folder):
109- makedirs(theme_folder)
110- copyfile(join(PWD, "xonecas.zsh-theme"),
111- join(theme_folder, "xonecas.zsh-theme"))
112-
113-
11485 def main():
11586 """ Install all """
11687 clean()
11788
89+ # tmux
90+ copyfile(join(PWD, "tmux.conf"), TMUX_CONF)
91+
11892 # vim
11993 create_vim_bundle()
12094 install_pathogen()
12195 clone_plugins()
12296 setup_vim()
12397
124- # zsh
125- install_ohmyzsh()
126- setup_zsh()
127-
12898 print "Done, your changes will be visible when the terminal resets."
12999 return 0