Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maxime Bombar
Config_Files
Commits
153fa2cd
Commit
153fa2cd
authored
Feb 20, 2015
by
Pierre-Elliott Bécue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
which retourne une erreur si la commande n'existe pas. On l'envoit dans dev/null
parent
d69491f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.bashrc
.bashrc
+1
-1
No files found.
.bashrc
View file @
153fa2cd
...
...
@@ -400,7 +400,7 @@ vcs_info(){
if
[[
disabled[
${
vcss
[
$i
]
}
]
-eq
1
]]
;
then
continue
fi
commands[
${
vcss
[
$i
]
}
]=
$(
which
${
vcss
[
$i
]
}
)
;
commands[
${
vcss
[
$i
]
}
]=
$(
(
which
${
vcss
[
$i
]
}
2>/dev/null
>
&2
&&
which
${
vcss
[i]
}
)||
echo true
)
;
done
;
found
=
0
...
...
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