macOS fish update
This commit is contained in:
		
							parent
							
								
									00eeea7494
								
							
						
					
					
						commit
						5e7ff61757
					
				
					 2 changed files with 12 additions and 2 deletions
				
			
		|  | @ -5,13 +5,17 @@ if status is-interactive | ||||||
|     fish_add_path -a /opt/nvim-linux64/bin |     fish_add_path -a /opt/nvim-linux64/bin | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|  |   if test -d /opt/homebrew/ | ||||||
|  |     /opt/homebrew/bin/brew shellenv | source | ||||||
|  |   end | ||||||
|  | 
 | ||||||
|   switch (whoami) |   switch (whoami) | ||||||
|   # Corporate machine |   # Corporate machine | ||||||
|   case Ivan_Golikov |   case Ivan_Golikov | ||||||
|     fish_add_path -p /usr/local/opt/libpq/bin |     fish_add_path -p /usr/local/opt/libpq/bin | ||||||
|     fish_add_path -a /Users/Ivan_Golikov/Projects/Scripts/bin |     fish_add_path -a /Users/Ivan_Golikov/Projects/Scripts/bin | ||||||
|     fish_add_path -a /Users/Ivan_Golikov/Library/Python/3.11/bin |     fish_add_path -a /Users/Ivan_Golikov/Library/Python/3.11/bin | ||||||
|   case kmqg099: |   case kbgw752: | ||||||
|     fish_add_path -a /usr/local/opt/node@18/bin |     fish_add_path -a /usr/local/opt/node@18/bin | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ | ||||||
|       - name: posting |       - name: posting | ||||||
|       - name: ipython |       - name: ipython | ||||||
| 
 | 
 | ||||||
|     macos_fish_path: /usr/local/bin/fish |     macos_fish_path: /opt/homebrew/bin/fish | ||||||
|     arch_fish_path: /usr/bin/fish |     arch_fish_path: /usr/bin/fish | ||||||
| 
 | 
 | ||||||
|   tasks: |   tasks: | ||||||
|  | @ -128,6 +128,12 @@ | ||||||
|       loop: "{{ uv_packages }}" |       loop: "{{ uv_packages }}" | ||||||
|       tags: |       tags: | ||||||
|         - dev_tools |         - dev_tools | ||||||
|  |      | ||||||
|  |     - name: Add fish to /etc/shells | ||||||
|  |       become: true | ||||||
|  |       ansible.builtin.lineinfile: | ||||||
|  |         path: /etc/shells | ||||||
|  |         line: "{{ macos_fish_path }}" | ||||||
| 
 | 
 | ||||||
|     - name: Set fish as default shell |     - name: Set fish as default shell | ||||||
|       become: true |       become: true | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue