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
1a33fed8
Commit
1a33fed8
authored
Mar 17, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omf
parent
a5117e8d
Pipeline
#10835
failed with stage
in 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
tasks/fish.yml
tasks/fish.yml
+13
-2
No files found.
tasks/fish.yml
View file @
1a33fed8
...
...
@@ -7,21 +7,32 @@
-
name
:
use mycard omf
set_fact
:
omf_uri
:
https://code.mycard.moe/nanahira/oh-my-fish
omf_install_uri_prefix
:
https://code.mycard.moe/nanahira/oh-my-fish/-
robbyrussell_path
:
https://code.mycard.moe/nanahira/theme-robbyrussell
when
:
china_mirror_omf
-
name
:
use original omf
set_fact
:
omf_uri
:
https://github.com/oh-my-fish/oh-my-fish
omf_install_uri_prefix
:
https://github.com/oh-my-fish/oh-my-fish
robbyrussell_path
:
robbyrussell
when
:
not china_mirror_omf
-
name
:
终端环境 fish omf
shell
:
curl -L
https://cdn02.moecube.com:444/init/install_fish
| fish
shell
:
curl -L
'{{omf_install_uri_prefix}}/raw/master/bin/install'
| fish
environment
:
NONINTERACTIVE
:
true
ASSUME_YES
:
true
OMF_REPO_URI
:
'
{{omf_uri}}'
args
:
creates
:
'
~/.local/share/omf'
ignore_errors
:
true
-
name
:
change omf mirror
when
:
china_mirror_omf
copy
:
content
:
https://code.mycard.moe/nanahira/omf-packages-main master
dest
:
'
~/.local/share/omf/repositories'
when
:
china_mirror_omf
-
name
:
终端环境 fish robbyrussell
shell
:
omf install robbyrussell
shell
:
'
omf
install
{{robbyrussell_path}}'
args
:
executable
:
/usr/bin/fish
creates
:
'
~/.local/share/omf/themes/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