5 changed files with 18 additions and 48 deletions
			
			
		| @ -1,11 +1,24 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| 
 | 
 | ||||||
|  | INSTALL_ROOT=~/.oh-my-terminal | ||||||
|  | 
 | ||||||
| # tmux | # tmux | ||||||
| ln -s -f ~/.oh-my-terminal/tmux/.tmux.conf ~/.tmux.conf | ln -s -f $INSTALL_ROOT/tmux/.tmux.conf ~/.tmux.conf | ||||||
| ln -s -f ~/.oh-my-terminal/tmux/.tmux.conf.local ~/.tmux.conf.local | cp $INSTALL_ROOT/tmux/.tmux.conf.local ~/.tmux.conf.local | ||||||
| 
 | 
 | ||||||
| # vim | # vim | ||||||
| ln -s -f ~/.oh-my-terminal/vim/basic.vim ~/.vimrc | vim_config="~/.vimrc" | ||||||
|  | if [ -f $vim_config ]; then | ||||||
|  |   cp $vim_config "$vim_config".orig | ||||||
|  | fi | ||||||
|  | ln -s -f $INSTALL_ROOT/vim/basic.vim ~/.vimrc | ||||||
| 
 | 
 | ||||||
| # zsh | # zsh | ||||||
| ln -s -f ~/.oh-my-terminal/zsh/templates/zshrc.zsh-template ~/.zshrc | # 备份 | ||||||
|  | zsh_config=~/.zshrc | ||||||
|  | if [ -f "$zsh_config" ]; then | ||||||
|  |   cp $zsh_config "$zsh_config".bak | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | cp $INSTALL_ROOT/zsh/templates/zshrc.zsh-template ~/.zshrc | ||||||
|  | chsh -s /bin/zsh | ||||||
|  | |||||||
| @ -1,18 +0,0 @@ | |||||||
| Copyright 2012— Gregory Pakosz |  | ||||||
| 
 |  | ||||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of |  | ||||||
| this software and associated documentation files (the "Software"), to deal in |  | ||||||
| the Software without restriction, including without limitation the rights to |  | ||||||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |  | ||||||
| the Software, and to permit persons to whom the Software is furnished to do so, |  | ||||||
| subject to the following conditions: |  | ||||||
| 
 |  | ||||||
| The above copyright notice and this permission notice shall be included in all |  | ||||||
| copies or substantial portions of the Software. |  | ||||||
| 
 |  | ||||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |  | ||||||
| FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |  | ||||||
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |  | ||||||
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |  | ||||||
| CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |  | ||||||
| @ -1,13 +0,0 @@ | |||||||
|         DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |  | ||||||
|                     Version 2, December 2004 |  | ||||||
| 
 |  | ||||||
|  Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> |  | ||||||
| 
 |  | ||||||
|  Everyone is permitted to copy and distribute verbatim or modified |  | ||||||
|  copies of this license document, and changing it is allowed as long |  | ||||||
|  as the name is changed. |  | ||||||
| 
 |  | ||||||
|             DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |  | ||||||
|    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |  | ||||||
| 
 |  | ||||||
|   0. You just DO WHAT THE FUCK YOU WANT TO. |  | ||||||
					Loading…
					
					
				
		Reference in new issue