Commit 034b2efc authored by nanahira's avatar nanahira

always use omf mirror install script

parent e4a600dc
Pipeline #8663 failed with stage
in 9 seconds
......@@ -4,21 +4,20 @@
name: '{{ansible_user_id}}'
shell: /usr/bin/fish
when: ansible_user_id == "root" or not manual_fish_mode is defined
- name: 终端环境 fish omf
shell: curl -L http://get.oh-my.fish | fish
environment:
NONINTERACTIVE: true
ASSUME_YES: true
- name: use mycard omf
set_fact:
omf_uri: https://code.mycard.moe/nanahira/oh-my-fish
when: china_mirror_omf
- name: use original omf
set_fact:
omf_uri: https://github.com/oh-my-fish/oh-my-fish
when: not china_mirror_omf
args:
creates: '~/.local/share/omf'
- name: 终端环境 fish omf China
shell: curl -L https://cdn01.moecube.com/init/install_fish | fish
- name: 终端环境 fish omf
shell: curl -L https://cdn02.moecube.com:444/init/install_fish | fish
environment:
NONINTERACTIVE: true
ASSUME_YES: true
OMF_REPO_URI: https://code.mycard.moe/nanahira/oh-my-fish
when: china_mirror_omf
OMF_REPO_URI: '{{omf_uri}}'
args:
creates: '~/.local/share/omf'
- name: 终端环境 fish robbyrussell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment