summaryrefslogtreecommitdiff
path: root/net:foret
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-07-20 11:59:17 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-07-20 11:59:17 +0200
commit752e1697e3111cf61fbd964020f651c6571d9e1b (patch)
tree34a72a823a3890fd00ffc101afb7eca73e21a73d /net:foret
parentb66ef28d98ccb4874890ddc4f4612955e712349b (diff)
LA FLEMME ....
Diffstat (limited to 'net:foret')
-rw-r--r--net:foret/Environment.zsh2
-rw-r--r--net:foret/Hashes.zsh4
-rw-r--r--net:foret/Prompts.zsh3
-rw-r--r--net:foret/completion/_sdk-targets10
4 files changed, 13 insertions, 6 deletions
diff --git a/net:foret/Environment.zsh b/net:foret/Environment.zsh
index 9066a83..809afbb 100644
--- a/net:foret/Environment.zsh
+++ b/net:foret/Environment.zsh
@@ -1,5 +1,5 @@
-export MUSICPLAYER=totem
+export MUSICPLAYER=musicplayer
# ccache
export CCACHE_DIR=/work/$USER/.ccache
diff --git a/net:foret/Hashes.zsh b/net:foret/Hashes.zsh
new file mode 100644
index 0000000..a6b64c6
--- /dev/null
+++ b/net:foret/Hashes.zsh
@@ -0,0 +1,4 @@
+
+#hash -d work=/work/$USER
+hash -d share=/share/public/hugues
+
diff --git a/net:foret/Prompts.zsh b/net:foret/Prompts.zsh
index c920cf8..7ba972a 100644
--- a/net:foret/Prompts.zsh
+++ b/net:foret/Prompts.zsh
@@ -62,9 +62,10 @@ __nproc_compilation ()
NPROC=${NPROC:-0}
[ $(($NPROC)) -gt 0 ] || { unset NPROC ; return }
- echo -n $C_
+ echo -n $C_$_prompt_colors[bar]$_C$T_"u"$_T$C_
export | grep -q '^NPROC=' && echo -n "1;"
echo -n $_make_colors[nproc]$_C$(for i in {1..$NPROC} ; echo -n -n "|")
+ echo -n $C_$_prompt_colors[bar]$_C$T_"t"$_T
}
__makeflags ()
{
diff --git a/net:foret/completion/_sdk-targets b/net:foret/completion/_sdk-targets
index 4f9fe87..10ed54c 100644
--- a/net:foret/completion/_sdk-targets
+++ b/net:foret/completion/_sdk-targets
@@ -33,18 +33,20 @@ _sdk-targets() {
case "$service" in
sdk-factory.sh)
_arguments \
- '(-s)'{-a,--enable-all-protocols}'[Enable all protocols]'\
+ {-a,--enable-all-protocols}'[Enable all protocols]'\
{-c+,--config=}'[Selects config FILE to use]:file:_files'\
{-d,--debug-make}'[Add debugging verbosity to make]'\
- '(-p)'{-f,--framework-only}'[Generates only the framework libraries]'\
- '(-f)'{-p,--protocols-only}'[Generates only the protocols bundle libraries]'\
{-g,--enable-debug-info}'[Enable debug info in binaries]'\
{-h,--enable-host}'[Enable host binaries building]'\
{-i,--disable-security}'[Disable licence checking]'\
{-n,--nomake}'[No make done]'\
{-s,--enable-specific-protocols}'[Enable specific protocols]'\
{-v,--verbose}'[Enable verbose compilation]'\
- ':current target:(( $(_current_target) ))'
+ ':current target:(( $(_current_target) ))' \
+ - framework \
+ {-f,--framework-only}'[Generates only the framework libraries]'\
+ - protobundle \
+ {-p,--protocols-only}'[Generates only the protocols bundle libraries]'
_alternative ':other targets:(( $( _other_targets ) ))'
;;
set-target-build-env.sh)