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
ed892719
Commit
ed892719
authored
Jan 16, 2025
by
Derek Stavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove deprecated use of IFS
parent
49a313a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
pkg/omf/functions/cli/omf.cli.help.fish
pkg/omf/functions/cli/omf.cli.help.fish
+0
-1
pkg/omf/functions/core/omf.doctor.fish
pkg/omf/functions/core/omf.doctor.fish
+1
-2
pkg/omf/functions/index/omf.index.query.fish
pkg/omf/functions/index/omf.index.query.fish
+2
-4
No files found.
pkg/omf/functions/cli/omf.cli.help.fish
View file @
ed892719
function omf.cli.help
set -l IFS ''
set -l doc_root $OMF_PATH/docs/cli
set -l doc $doc_root/omf.adoc
...
...
pkg/omf/functions/core/omf.doctor.fish
View file @
ed892719
...
...
@@ -16,8 +16,7 @@ function __omf.doctor.fish_version
set -l min_version 2.2.0
set -l current_version
begin
set -l IFS '-'
echo $FISH_VERSION | read -la version_parts
echo $FISH_VERSION | read -la --delimiter - version_parts
set current_version "$version_parts[1]"
end
...
...
pkg/omf/functions/index/omf.index.query.fish
View file @
ed892719
...
...
@@ -13,11 +13,9 @@ function omf.index.query -d 'Query packages in the index'
case
'--type=theme'
set
q_type
theme
case
'--name=*'
set
-
l
IFS
'='
echo
"$arg"
|
read
dummy
q_name
echo
"$arg"
|
read
--
delimiter
=
dummy
q_name
case
'--text=*'
set
-
l
IFS
'='
echo
"$arg"
|
read
dummy
q_text
echo
"$arg"
|
read
--
delimiter
=
dummy
q_text
case
'*'
echo
"Invalid search term: '$arg'"
>&
2
return
1
...
...
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