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
c4803088
Commit
c4803088
authored
Aug 27, 2015
by
Jorge Bucaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove references to `wa`
parent
bf52f5d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
pkg/omf/cli/omf_list_installed_packages.fish
pkg/omf/cli/omf_list_installed_packages.fish
+1
-1
pkg/omf/cli/omf_list_local_packages.fish
pkg/omf/cli/omf_list_local_packages.fish
+1
-1
pkg/omf/cli/omf_remove_package.fish
pkg/omf/cli/omf_remove_package.fish
+2
-2
No files found.
pkg/omf/cli/omf_list_installed_packages.fish
View file @
c4803088
# List all packages installed from the registry.
# List all packages installed from the registry.
function omf_list_installed_packages
function omf_list_installed_packages
for item in (basename $OMF_PATH/pkg/*)
for item in (basename $OMF_PATH/pkg/*)
test $item =
wa
; or echo $item
test $item =
omf
; or echo $item
end
end
end
end
pkg/omf/cli/omf_list_local_packages.fish
View file @
c4803088
# List all custom packages and packages installed from the registry.
# List all custom packages and packages installed from the registry.
function omf_list_local_packages
function omf_list_local_packages
for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*)
for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*)
test $item =
wa
; or echo $item
test $item =
omf
; or echo $item
end
end
end
end
pkg/omf/cli/omf_remove_package.fish
View file @
c4803088
function omf_remove_package
function omf_remove_package
for pkg in $argv
for pkg in $argv
if not omf_util_valid_package $pkg
if not omf_util_valid_package $pkg
if test $pkg = "
wa
"
if test $pkg = "
omf
"
echo (omf::err)"You can't remove
wa
"(omf::off) 1^&2
echo (omf::err)"You can't remove
`omf`
"(omf::off) 1^&2
else
else
echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2
echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2
end
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