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
7592f43d
Commit
7592f43d
authored
Jan 02, 2018
by
Stephen M. Coakley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: smarter AWK detection that supports nawk
parent
5943c226
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
.travis.yml
.travis.yml
+1
-1
README.md
README.md
+1
-1
bin/install
bin/install
+8
-3
bin/install.sha256
bin/install.sha256
+1
-1
No files found.
.travis.yml
View file @
7592f43d
...
@@ -25,7 +25,7 @@ before_script:
...
@@ -25,7 +25,7 @@ before_script:
-
tree -h
-
tree -h
-
export
-
export
-
pushd bin; sha256sum -c install.sha256; popd
-
pushd bin; sha256sum -c install.sha256; popd
-
fish $TRAVIS_BUILD_DIR/bin/install --offline --noninteractive --yes
-
fish $TRAVIS_BUILD_DIR/bin/install --
verbose --
offline --noninteractive --yes
script
:
script
:
-
tests/run.fish
-
tests/run.fish
...
...
README.md
View file @
7592f43d
...
@@ -34,7 +34,7 @@ fish install --path=~/.local/share/omf --config=~/.config/omf
...
@@ -34,7 +34,7 @@ fish install --path=~/.local/share/omf --config=~/.config/omf
You can verify the integrity of the downloaded installer by verifying the script against
[
this checksum
](
bin/install.sha256
)
:
You can verify the integrity of the downloaded installer by verifying the script against
[
this checksum
](
bin/install.sha256
)
:
```
```
bedbff763e374d5ca3367fa75b322302411e961947133eb22c7115083ba3a3ff
install
4dd63d6a974a61c100cbe145ae46eac69edce985f20b061f353cc399b36c7587
install
```
```
You can also install Oh My Fish with Git or with an offline source tarball downloaded from the
[
releases page
][
releases
]
:
You can also install Oh My Fish with Git or with an offline source tarball downloaded from the
[
releases page
][
releases
]
:
...
...
bin/install
View file @
7592f43d
...
@@ -466,8 +466,9 @@ function sane_environment_check
...
@@ -466,8 +466,9 @@ function sane_environment_check
and test "$result[3]" = 1.2.3
and test "$result[3]" = 1.2.3
or abort (which sort)" is not a sane 'sort' implementation"
or abort (which sort)" is not a sane 'sort' implementation"
debug "Checking AWK version"
debug "Checking for a working AWK interpreter"
if not cmd awk -Wv | cmd grep -i -q AWK
cmd awk 'BEGIN{exit 42;}' < /dev/null ^ /dev/null
if not test $status -eq 42
abort (which awk)" does not look like an AWK interpreter."
abort (which awk)" does not look like an AWK interpreter."
end
end
...
@@ -581,7 +582,11 @@ end
...
@@ -581,7 +582,11 @@ end
# A link-following `which` wrapper.
# A link-following `which` wrapper.
function which
function which
if type -q realpath
realpath (command which $argv)
else
command readlink (command which $argv)
command readlink (command which $argv)
end
end
end
...
...
bin/install.sha256
View file @
7592f43d
bedbff763e374d5ca3367fa75b322302411e961947133eb22c7115083ba3a3ff
install
4dd63d6a974a61c100cbe145ae46eac69edce985f20b061f353cc399b36c7587
install
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