Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
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
nanahira
oh-my-fish
Commits
e7a8e74f
Commit
e7a8e74f
authored
Nov 30, 2020
by
Justin Hileman
Committed by
GitHub
Nov 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #707 from m4rkforks/master
Fix bug when creating new theme
parents
ea1119c6
62a051a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pkg/omf/functions/packages/omf.packages.list.fish
pkg/omf/functions/packages/omf.packages.list.fish
+2
-2
pkg/omf/functions/themes/omf.theme.set.fish
pkg/omf/functions/themes/omf.theme.set.fish
+1
-1
No files found.
pkg/omf/functions/packages/omf.packages.list.fish
View file @
e7a8e74f
...
...
@@ -14,8 +14,8 @@ function omf.packages.list -d 'List installed packages'
set -e show_plugins
end
set -l plugins_paths
$OMF_PATH
/pkg/*
set -l themes_paths
$OMF_PATH
/themes/*
set -l plugins_paths
{$OMF_CONFIG, $OMF_PATH}
/pkg/*
set -l themes_paths
{$OMF_CONFIG, $OMF_PATH}
/themes/*
if set -q show_plugins
for path in $plugins_paths
...
...
pkg/omf/functions/themes/omf.theme.set.fish
View file @
e7a8e74f
function omf.theme.set -a target_theme
if not test -d $OMF_PATH/themes/$target_theme
if not test -d $OMF_PATH/themes/$target_theme
-o -d $OMF_CONFIG/themes/$target_theme
return $OMF_INVALID_ARG
end
...
...
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