mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 06:34:09 +00:00 
			
		
		
		
	#349 Add installation of command-not-found in install script
This commit is contained in:
		| @@ -8,7 +8,12 @@ should_add_alias () { | |||||||
| if [ -f $(which apt-get) ]; then | if [ -f $(which apt-get) ]; then | ||||||
|     # Debian/ubuntu: |     # Debian/ubuntu: | ||||||
|     sudo apt-get update -yy |     sudo apt-get update -yy | ||||||
|     sudo apt-get install -yy python-pip python-dev |     sudo apt-get install -yy python-pip python-dev command-not-found | ||||||
|  |  | ||||||
|  |     if [[ -n $(apt-cache search python-commandnotfound) ]]; then | ||||||
|  |         # In case of different python versions: | ||||||
|  |         sudo apt-get install -yy python-commandnotfound | ||||||
|  |     fi | ||||||
| else | else | ||||||
|     if [ -f $(which brew) ]; then |     if [ -f $(which brew) ]; then | ||||||
|         # OS X: |         # OS X: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user