include cloning powerline fonts and tmux plugin manager to facilitate tmux-resurrect
This commit is contained in:
		
							parent
							
								
									2569f31f87
								
							
						
					
					
						commit
						05f8f35da4
					
				
							
								
								
									
										38
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								setup.sh
									
									
									
									
									
								
							| @ -30,6 +30,44 @@ do | |||||||
|     ln -s $dir/$file ~/$file |     ln -s $dir/$file ~/$file | ||||||
| done | done | ||||||
| 
 | 
 | ||||||
|  | #----------------------------------------------------------install power line fonts------------------------------------------------------------------------ | ||||||
|  | 
 | ||||||
|  | if [ ! -d ~/fonts ] | ||||||
|  | then | ||||||
|  |     while true; do | ||||||
|  |         read -p "do you want to install powerline fonts from https://github.com/powerline/fonts?" yn | ||||||
|  |         case $yn in | ||||||
|  |             [Yy]* )  | ||||||
|  |                 git clone https://github.com/powerline/fonts; | ||||||
|  |                 cd fonts; | ||||||
|  |                 ./install.sh; | ||||||
|  |                 break;; | ||||||
|  |             [Nn]* )  | ||||||
|  |                 exit;; | ||||||
|  |             * ) echo "Please answer yes or no.";; | ||||||
|  |         esac | ||||||
|  |     done | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | #----------------------------------------------------------install tmux plugin manager and tmux resurrect-------------------------------------------------- | ||||||
|  | 
 | ||||||
|  | if [ ! -d ~/.tmux/plugins/tpm ] | ||||||
|  | then | ||||||
|  |     while true; do | ||||||
|  |         read -p "do you want to install the tmux plugin manager from https://github.com/tmux-plugins/tpm" yn | ||||||
|  |         case $yn in | ||||||
|  |             [Yy]* )  | ||||||
|  |                 git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; | ||||||
|  |                 break;; | ||||||
|  |             [Nn]* )  | ||||||
|  |                 exit;; | ||||||
|  |             * ) echo "Please answer yes or no.";; | ||||||
|  |         esac | ||||||
|  |     done | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| #----------------------------------------------------------see if Vundle has been cloned yet and do so----------------------------------------------------- | #----------------------------------------------------------see if Vundle has been cloned yet and do so----------------------------------------------------- | ||||||
| 
 | 
 | ||||||
| if [ ! -d ~/.vim ] | if [ ! -d ~/.vim ] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user