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
b616d177
Commit
b616d177
authored
Jun 10, 2014
by
Bruno Pinto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #163 from JeanMertz/plugin-chruby
parents
060c7303
56d0cb8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
plugins/chruby/README.md
plugins/chruby/README.md
+9
-0
plugins/chruby/chruby.load
plugins/chruby/chruby.load
+23
-0
No files found.
plugins/chruby/README.md
0 → 100644
View file @
b616d177
## chruby plugin
Depends on
`chruby-fish`
: https://github.com/JeanMertz/chruby-fish
set
`CHRUBY_AUTO_ENABLED`
to
`false`
to disable auto loading Ruby versions on
directory change.
set
`CHRUBY_ROOT`
to point to the root path of chruby. The path will be
appended by
`share/chruby/chruby.fish`
and
`share/chruby/auto.fish`
.
plugins/chruby/chruby.load
0 → 100644
View file @
b616d177
#
# Depends on `chruby-fish` (https://github.com/JeanMertz/chruby-fish)
#
# set `CHRUBY_AUTO_ENABLED` to `false` to disable auto loading Ruby versions on
# directory change.
#
# set `CHRUBY_ROOT` to point to the root path of chruby. The path will be
# appended by `share/chruby/chruby.fish` and `share/chruby/auto.fish`.
#
set -q CHRUBY_ROOT; or set CHRUBY_ROOT /usr/local
if test -f "$CHRUBY_ROOT/share/chruby/chruby.fish"
. "$CHRUBY_ROOT/share/chruby/chruby.fish"
else
echo '`chruby` plugin loaded but chruby-fish not installed.' \
'See: https://github.com/JeanMertz/chruby-fish'
end
if test "$CHRUBY_AUTO_ENABLED" != "false" -a \
-f "$CHRUBY_ROOT/share/chruby/auto.fish"
. "$CHRUBY_ROOT/share/chruby/auto.fish"
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