mirror of
				https://github.com/KevinMidboe/chsh.git
				synced 2025-10-29 12:30:13 +00:00 
			
		
		
		
	Add homebrew path to .profile
This commit is contained in:
		
							
								
								
									
										5
									
								
								.profile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								.profile
									
									
									
									
									
								
							| @@ -5,7 +5,12 @@ export PATH="/usr/local/bin:$PATH" | |||||||
| # MacPorts Installer rddition on 2022-10-31_at_23:07:29: adding an appropriate PATH variable for use with MacPorts. | # MacPorts Installer rddition on 2022-10-31_at_23:07:29: adding an appropriate PATH variable for use with MacPorts. | ||||||
| export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | ||||||
|  |  | ||||||
|  | # Homebrew add executable bin file directory | ||||||
|  | # to PATH variable. | ||||||
|  | export PATH="/opt/homebrew/bin:$PATH" | ||||||
|  |  | ||||||
| # Setting PATH for Python 3.11 | # Setting PATH for Python 3.11 | ||||||
| # The original version is saved in .zprofile.pysave | # The original version is saved in .zprofile.pysave | ||||||
| # PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH" | # PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH" | ||||||
| # export PATH | # export PATH | ||||||
|  |  | ||||||
|   | |||||||
| @@ -68,6 +68,12 @@ move_config_files () { | |||||||
|   printf "Moved %s config files!\n" $COUNT |   printf "Moved %s config files!\n" $COUNT | ||||||
| } | } | ||||||
|  |  | ||||||
|  | move_profile_file () { | ||||||
|  |   cp .profile $HOME | ||||||
|  |  | ||||||
|  |   echo "Moved .profile file!" | ||||||
|  | } | ||||||
|  |  | ||||||
| # Promps for installing custom SF Mono font | # Promps for installing custom SF Mono font | ||||||
| # patched with devicons + more | # patched with devicons + more | ||||||
| get_input_df_false "Install custom font? (y/N) " install_font | get_input_df_false "Install custom font? (y/N) " install_font | ||||||
| @@ -83,3 +89,4 @@ get_config_files | |||||||
| # Prompt copy config files to $HOME | # Prompt copy config files to $HOME | ||||||
| get_input_df_true "Move config files to $HOME/.config? (Y/n) " move_config_files | get_input_df_true "Move config files to $HOME/.config? (Y/n) " move_config_files | ||||||
|  |  | ||||||
|  | move_profile_file | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user