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
6683f68f
Commit
6683f68f
authored
May 31, 2015
by
Justin Hileman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[split] Move composer plugin to oh-my-fish/plugin-composer
https://github.com/oh-my-fish/plugin-composer
parent
c3e8ee6e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
30 deletions
+0
-30
plugins/composer/composer.fish
plugins/composer/composer.fish
+0
-10
plugins/composer/composer.load
plugins/composer/composer.load
+0
-16
plugins/composer/composer_install.fish
plugins/composer/composer_install.fish
+0
-4
No files found.
plugins/composer/composer.fish
deleted
100644 → 0
View file @
c3e8ee6e
# composer command
function composer
if test -e ./composer.phar # if there is composer in this path use local one
./composer.phar $argv;
else if test -n "$COMPOSER_BIN"
eval "$COMPOSER_BIN" $argv;
else
echo "Please install composer.phar to your PATH. Or use \"composer_install\" to install Composer to current directory."
end
end
plugins/composer/composer.load
deleted
100644 → 0
View file @
c3e8ee6e
# add Composer's global binaries to PATH
if test -z "$COMPOSER_BIN_PATH"
set -gx COMPOSER_BIN_PATH $HOME/.composer/vendor/bin
end
set PATH $COMPOSER_BIN_PATH $PATH
# get composer path
if test -z "$COMPOSER_BIN"
if type "composer.phar" > /dev/null
set -gx COMPOSER_BIN (which composer.phar)
else if type "composer" > /dev/null
set -gx COMPOSER_BIN (which composer)
else
echo "FAILED to find Composer! Please install composer.phar to your PATH."
end
end
plugins/composer/composer_install.fish
deleted
100644 → 0
View file @
c3e8ee6e
# install composer in the current directory
function composer_install
curl -s https://getcomposer.org/installer | php
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