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
cd857cf2
Commit
cd857cf2
authored
Aug 30, 2015
by
Justin Hileman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #560 from fish-shell/do-not-convert-home
Do not convert `$HOME` when installing omf.
parents
9a1e413c
f89bc188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bin/install
bin/install
+2
-1
No files found.
bin/install
View file @
cd857cf2
...
...
@@ -92,7 +92,8 @@ omf_install() {
touch
${
fish_config_file
}
>
/dev/null 2>&1
test
!
-w
${
fish_config_file
}
&&
die
"Fish configuration file is not writable, aborting."
sed
"s|{{OMF_PATH}}|
$OMF_PATH
|;s|{{OMF_CONFIG}}|
$OMF_CONFIG
|"
\
sed
"s|{{OMF_PATH}}|
$(
echo
"
${
OMF_PATH
}
"
|
sed
-e
"s|
$HOME
|
\$
HOME|"
)
|;
\
s|{{OMF_CONFIG}}|
$(
echo
"
${
OMF_CONFIG
}
"
|
sed
-e
"s|
$HOME
|
\$
HOME|"
)
|"
\
"
${
OMF_PATH
}
/templates/config.fish"
>
"
${
fish_config_file
}
"
if
[
!
-d
"
${
OMF_CONFIG
}
"
]
;
then
...
...
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