move some scripts to devel subfolder
This commit is contained in:
		
							parent
							
								
									284a454a9a
								
							
						
					
					
						commit
						74d8beff3a
					
				
					 8 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								misc/ipy
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								misc/ipy
									
										
									
									
									
								
							|  | @ -1,20 +0,0 @@ | |||
| #!/bin/zsh | ||||
| 
 | ||||
| if [[ -n $VIRTUAL_ENV ]]; then | ||||
| 	pip install ipython &>/dev/null | ||||
| else | ||||
| 	cd ~/toy-projects/playground_venv/ | ||||
| 	. bin/activate | ||||
| fi | ||||
| 
 | ||||
| if [[ -e $VIRTUAL_ENV/ipython_profile ]]; then | ||||
| 	ipy_profile="--profile=$(<$VIRTUAL_ENV/ipython_profile)" | ||||
| fi | ||||
| 
 | ||||
| if [[ "$1" == "pip" ]]; then | ||||
| 	exec "$@" | ||||
| elif [[ $1 == "-s" ]]; then | ||||
| 	exec $SHELL | ||||
| else | ||||
| 	exec ipython $ipy_profile "$@" | ||||
| fi | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alexander Gehrke
						Alexander Gehrke