diff --git a/ansible/roles/fish/files/fish/config.fish b/ansible/roles/fish/files/fish/config.fish index 0f98539..fa42e3c 100644 --- a/ansible/roles/fish/files/fish/config.fish +++ b/ansible/roles/fish/files/fish/config.fish @@ -5,11 +5,6 @@ if status is-interactive # Set the editor to use vim set --export --global EDITOR nvim - # Install OMF if it is not already - if test ! -d ~/.local/share/omf - curl -L https://get.oh-my.fish | fish - end - # Alias for the cat command alias cat="bat --theme ColdDark-Cold" diff --git a/ansible/roles/fish/tasks/main.yml b/ansible/roles/fish/tasks/main.yml index d8eede5..3dbcc73 100644 --- a/ansible/roles/fish/tasks/main.yml +++ b/ansible/roles/fish/tasks/main.yml @@ -19,6 +19,12 @@ delete: true src: fish dest: "/$HOME/.config" +- name: Clone Oh My Fish + git: + repo: https://github.com/oh-my-fish/oh-my-fish + depth: 1 + single_branch: true + update: true - name: Setup OMF synchronize: delete: true