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
|
||||
end
|
||||
|
||||
if test -d /opt/homebrew/
|
||||
/opt/homebrew/bin/brew shellenv | source
|
||||
end
|
||||
|
||||
switch (whoami)
|
||||
# Corporate machine
|
||||
case Ivan_Golikov
|
||||
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/Library/Python/3.11/bin
|
||||
case kmqg099:
|
||||
case kbgw752:
|
||||
fish_add_path -a /usr/local/opt/node@18/bin
|
||||
end
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
- name: posting
|
||||
- name: ipython
|
||||
|
||||
macos_fish_path: /usr/local/bin/fish
|
||||
macos_fish_path: /opt/homebrew/bin/fish
|
||||
arch_fish_path: /usr/bin/fish
|
||||
|
||||
tasks:
|
||||
|
@ -128,6 +128,12 @@
|
|||
loop: "{{ uv_packages }}"
|
||||
tags:
|
||||
- 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
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue