Skip to content

Commit

Permalink
Rename Library/Contributions/cmds -> cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Feb 18, 2013
1 parent 1fb1a12 commit ecb3a58
Show file tree
Hide file tree
Showing 26 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Library/Contributions/brew_bash_completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ _brew ()
done

if [[ $i -eq $COMP_CWORD ]]; then
local ext=$(\ls -p $(brew --repository)/Library/Contributions/cmds \
local ext=$(\ls -p $(brew --repository)/Library/Contributions/cmd \
2>/dev/null | sed -e "s/\.rb//g" -e "s/brew-//g" \
-e "s/.*\///g")
__brewcomp "
Expand Down
2 changes: 1 addition & 1 deletion Library/Contributions/brew_fish_completion.fish
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for command in (ls (brew --repository)/Library/Homebrew/cmd | sed -e "s/\.rb//g"
set commands $command $commands
end

for command in (ls -p (brew --repository)/Library/Contributions/cmds | sed -e "s/\.rb//g" -e "s/brew-//g" -e "s/.*\///g")
for command in (ls -p (brew --repository)/Library/Contributions/cmd | sed -e "s/\.rb//g" -e "s/brew-//g" -e "s/.*\///g")
set commands $command $commands
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ EOF
rm $tmp_file

echo "The formulae for the aspell dictionaries have been written to\n$brew_formulae_tmp_file"

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ def html_page
</head>
<body>
<div id="wrap">
<div id="header">
<h1><a href="./">Homebrew</a></h1>
<p id="subtitle"><strong>The missing package manager for OS X</strong></p>
<div id="header">
<h1><a href="./">Homebrew</a></h1>
<p id="subtitle"><strong>The missing package manager for OS X</strong></p>
<p id="installed"><a href="/installed">Show installed packages</a></p>
</div>
</div>
<div id="informations">
<div id="informations">
HTML
yield body
body += <<-HTML
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
require 'utils'
require 'date'

HOMEBREW_CONTRIBUTED_CMDS = HOMEBREW_REPOSITORY + "Library/Contributions/cmds/"
HOMEBREW_CONTRIBUTED_CMDS = HOMEBREW_REPOSITORY + "Library/Contributions/cmd/"

class Step
attr_reader :command, :repository
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Library/Contributions/manpages/brew.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ to create your own commands without modifying Homebrew's internals.
A number of (useful, but unsupported) external commands are included and enabled
by default:

$ ls `brew --repository`/Library/Contributions/cmds
$ ls `brew --repository`/Library/Contributions/cmd

Documentation for the included external commands as well as instructions for
creating your own can be found on the wiki:
Expand Down
2 changes: 1 addition & 1 deletion bin/brew
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ begin
end

# Add example external commands to PATH before checking.
ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/cmds"
ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/cmd"
if require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd
Homebrew.send cmd.to_s.gsub('-', '_').downcase
elsif which "brew-#{cmd}"
Expand Down
2 changes: 1 addition & 1 deletion share/man/man1/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ A number of (useful, but unsupported) external commands are included and enabled
.
.nf

$ ls `brew \-\-repository`/Library/Contributions/cmds
$ ls `brew \-\-repository`/Library/Contributions/cmd
.
.fi
.
Expand Down

0 comments on commit ecb3a58

Please sign in to comment.