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
228ef9aa
Commit
228ef9aa
authored
Jun 15, 2016
by
Stephen M. Coakley
Committed by
Derek Willian Stavis
Jun 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Evaluate OMF_PATH at init time to fix #136 (#348)
parent
6c373d89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bin/install
bin/install
+1
-1
templates/config.fish
templates/config.fish
+3
-1
No files found.
bin/install
View file @
228ef9aa
...
@@ -109,7 +109,7 @@ function install_omf
...
@@ -109,7 +109,7 @@ function install_omf
report progress "Adding startup code to fish config file..."
report progress "Adding startup code to fish config file..."
set template "templates/config.fish"
set template "templates/config.fish"
set replacements "s|{{OMF_
PATH}}|$OMF_PATH|;s|{{OMF_
CONFIG}}|$OMF_CONFIG|"
set replacements "s|{{OMF_CONFIG}}|$OMF_CONFIG|"
if test "$OMF_CONFIG" != "$XDG_CONFIG_HOME/omf"
if test "$OMF_CONFIG" != "$XDG_CONFIG_HOME/omf"
set replacements "$replacements;s|#set|set|"
set replacements "$replacements;s|#set|set|"
...
...
templates/config.fish
View file @
228ef9aa
# Path to Oh My Fish install.
# Path to Oh My Fish install.
set -gx OMF_PATH "{{OMF_PATH}}"
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Customize Oh My Fish configuration path.
# Customize Oh My Fish configuration path.
#set -gx OMF_CONFIG "{{OMF_CONFIG}}"
#set -gx OMF_CONFIG "{{OMF_CONFIG}}"
...
...
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