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
18a33690
You need to sign in or sign up before continuing.
Commit
18a33690
authored
Nov 20, 2013
by
Bruno Pinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using _append_path function on plugins
parent
00236e5a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
39 deletions
+12
-39
plugins/node/node.load
plugins/node/node.load
+1
-3
plugins/plenv/plenv.load
plugins/plenv/plenv.load
+2
-7
plugins/pyenv/pyenv.load
plugins/pyenv/pyenv.load
+4
-12
plugins/python/python.load
plugins/python/python.load
+1
-3
plugins/rbenv/rbenv.load
plugins/rbenv/rbenv.load
+4
-14
No files found.
plugins/node/node.load
View file @
18a33690
### Main program
if test -d /usr/local/share/npm/bin
set PATH /usr/local/share/npm/bin $PATH
end
_append_path /usr/local/share/npm/bin
set PATH ./node_modules/.bin $PATH
plugins/plenv/plenv.load
View file @
18a33690
if test -d $HOME/.plenv/bin
set PATH $HOME/.plenv/bin $PATH
end
if test -d $HOME/.plenv/shims
set PATH $HOME/.plenv/shims $PATH
end
_append_path $HOME/.plenv/bin
_append_path $HOME/.plenv/shims
plugins/pyenv/pyenv.load
View file @
18a33690
if test -n "$PYENV_ROOT"
if test -d $PYENV_ROOT/bin
set PATH $PYENV_ROOT/bin $PATH
end
if test -d $PYENV_ROOT/shims
set PATH $PYENV_ROOT/shims $PATH
end
_append_path $PYENV_ROOT/bin
_append_path $PYENV_ROOT/shims
else
if test -d $HOME/.pyenv/bin
set PATH $HOME/.pyenv/bin $PATH
end
if test -d $HOME/.pyenv/shims
set PATH $HOME/.pyenv/shims $PATH
end
_append_path $HOME/.pyenv/bin
_append_path $HOME/.pyenv/shims
end
plugins/python/python.load
View file @
18a33690
if test -d /usr/local/share/python
set PATH /usr/local/share/python $PATH
end
_append_path /usr/local/share/python
plugins/rbenv/rbenv.load
View file @
18a33690
if test -n "$RBENV_ROOT"
if test -d $RBENV_ROOT/bin
set PATH $RBENV_ROOT/bin $PATH
end
if test -d $RBENV_ROOT/shims
set PATH $RBENV_ROOT/shims $PATH
end
_append_path $RBENV_ROOT/bin
_append_path $RBENV_ROOT/shims
else
if test -d $HOME/.rbenv/bin
set PATH $HOME/.rbenv/bin $PATH
end
if test -d $HOME/.rbenv/shims
set PATH $HOME/.rbenv/shims $PATH
end
_append_path $HOME/.rbenv/bin
_append_path $HOME/.rbenv/shims
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