From 752e1697e3111cf61fbd964020f651c6571d9e1b Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 20 Jul 2012 11:59:17 +0200 Subject: LA FLEMME .... --- net:foret/Environment.zsh | 2 +- net:foret/Hashes.zsh | 4 ++++ net:foret/Prompts.zsh | 3 ++- net:foret/completion/_sdk-targets | 10 ++++++---- 4 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 net:foret/Hashes.zsh (limited to 'net:foret') 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) -- cgit v1.2.3