Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
034b2efc
Commit
034b2efc
authored
Jan 11, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always use omf mirror install script
parent
e4a600dc
Pipeline
#8663
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
tasks/fish.yml
tasks/fish.yml
+10
-11
No files found.
tasks/fish.yml
View file @
034b2efc
...
@@ -4,21 +4,20 @@
...
@@ -4,21 +4,20 @@
name
:
'
{{ansible_user_id}}'
name
:
'
{{ansible_user_id}}'
shell
:
/usr/bin/fish
shell
:
/usr/bin/fish
when
:
ansible_user_id == "root" or not manual_fish_mode is defined
when
:
ansible_user_id == "root" or not manual_fish_mode is defined
-
name
:
终端环境 fish omf
-
name
:
use mycard omf
shell
:
curl -L http://get.oh-my.fish | fish
set_fact
:
environment
:
omf_uri
:
https://code.mycard.moe/nanahira/oh-my-fish
NONINTERACTIVE
:
true
when
:
china_mirror_omf
ASSUME_YES
:
true
-
name
:
use original omf
set_fact
:
omf_uri
:
https://github.com/oh-my-fish/oh-my-fish
when
:
not china_mirror_omf
when
:
not china_mirror_omf
args
:
-
name
:
终端环境 fish omf
creates
:
'
~/.local/share/omf'
shell
:
curl -L https://cdn02.moecube.com:444/init/install_fish | fish
-
name
:
终端环境 fish omf China
shell
:
curl -L https://cdn01.moecube.com/init/install_fish | fish
environment
:
environment
:
NONINTERACTIVE
:
true
NONINTERACTIVE
:
true
ASSUME_YES
:
true
ASSUME_YES
:
true
OMF_REPO_URI
:
https://code.mycard.moe/nanahira/oh-my-fish
OMF_REPO_URI
:
'
{{omf_uri}}'
when
:
china_mirror_omf
args
:
args
:
creates
:
'
~/.local/share/omf'
creates
:
'
~/.local/share/omf'
-
name
:
终端环境 fish robbyrussell
-
name
:
终端环境 fish robbyrussell
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment