now cloning the oh my fish framework using ansible git module

This commit is contained in:
aminnairi
2024-01-04 10:48:11 +01:00
parent c8d0bb47e4
commit 9e711955c5
2 changed files with 6 additions and 5 deletions
@@ -5,11 +5,6 @@ if status is-interactive
# Set the editor to use vim # Set the editor to use vim
set --export --global EDITOR nvim 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 for the cat command
alias cat="bat --theme ColdDark-Cold" alias cat="bat --theme ColdDark-Cold"
+6
View File
@@ -19,6 +19,12 @@
delete: true delete: true
src: fish src: fish
dest: "/$HOME/.config" 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 - name: Setup OMF
synchronize: synchronize:
delete: true delete: true