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
Membres actifs
fichiers_configuration
Commits
07e181c8
Commit
07e181c8
authored
Apr 07, 2014
by
Pierre-Elliott Bécue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[.bashrc] hg and bzr command are fucking slow.
parent
ab34617c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
.bashrc
.bashrc
+5
-5
No files found.
.bashrc
View file @
07e181c8
...
...
@@ -147,8 +147,9 @@ git_detect(){
# Mercurial isn't
hg_detect
(){
check_command hg
||
return
1
vcs_comm[basedir]
=
"
$(
hg root 2> /dev/null
)
"
||
return
1
return
0
vcs_comm[detect_need_file]
=
store
detect_by_dir
'.hg'
return
$?
}
# .svn in each directories
...
...
@@ -160,7 +161,6 @@ svn_detect() {
bzr_detect
(){
check_command bzr
||
return
1
# vcs_comm[basedir]=$(bzr root 2>/dev/null) || return 1
vcs_comm[detect_need_file]
=
branch/format
detect_by_dir
'.bzr'
return
$?
...
...
@@ -480,7 +480,7 @@ nocolor_prompt="\[${nocolor}\]"
# Est-ce qu'on veut que le prompt affiche les information sur l'éventuel dépôt
# versionné dans lequel on se trouve
#~# # Changez cette variable en "yes" pour l'afficher
display_vcs_info
=
no
display_vcs_info
=
yes
# Génération de la ligne de "-"
...
...
@@ -595,7 +595,7 @@ else
TITLE
=
''
fi
# On r
e
génére le prompt après chaque commande
# On r
é
génére le prompt après chaque commande
PROMPT_COMMAND
=
prompt_command
# +-------------------+
...
...
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