From febc85ddc624efea31517f1abdd30cf136db8935 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Mon, 1 Mar 2010 21:09:04 +0100 Subject: [PATCH] Ajout du Script getMadame.sh et des var d'env pour archAreswq --- .screenrc | 2 +- .zsh/.zcompdump | 301 ++++++++++++----------------- .zsh/00_basic.zsh | 15 +- .zsh/host:archAres/Environment.zsh | 41 ++++ scripts/getMadame.sh | 68 +++++++ 5 files changed, 250 insertions(+), 177 deletions(-) create mode 100755 .zsh/host:archAres/Environment.zsh create mode 100755 scripts/getMadame.sh diff --git a/.screenrc b/.screenrc index 073ba78..177700d 100644 --- a/.screenrc +++ b/.screenrc @@ -60,7 +60,7 @@ bind } history # The vt100 description does not mention "dl". *sigh* termcapinfo vt100 dl=5\E[M - +# caption always "%3n %t%? (%u)%?%?: %h%?" # turn sending of screen messages to hardstatus off hardstatus off # Set the hardstatus prop on gui terms to set the titlebar/icon title diff --git a/.zsh/.zcompdump b/.zsh/.zcompdump index e4b3c87..7dff3ca 100644 --- a/.zsh/.zcompdump +++ b/.zsh/.zcompdump @@ -1,4 +1,4 @@ -#files: 593 version: 4.3.9 +#files: 621 version: 4.3.10 _comps=( '-' '_precommand' @@ -117,6 +117,7 @@ _comps=( 'config.status' '_configure' 'configure' '_configure' 'convert' '_imagemagick' +'coreadm' '_coreadm' 'cowsay' '_cowsay' 'cowthink' '_cowsay' 'cp' '_cp' @@ -161,9 +162,11 @@ _comps=( '-default-' '_default' 'defaults' '_defaults' 'delta' '_sccs' +'devtodo' '_devtodo' 'df' '_directories' 'dhclient' '_dhclient' 'dhclient3' '_dhclient' +'dhcpinfo' '_dhcpinfo' 'dict' '_dict' 'diff' '_diff' 'diffstat' '_diffstat' @@ -176,6 +179,7 @@ _comps=( 'dist' '_mh' 'django-admin' '_django' 'django-admin.py' '_django' +'dladm' '_dladm' 'dlocate' '_dlocate' 'dmake' '_make' 'dmidecode' '_dmidecode' @@ -193,6 +197,7 @@ _comps=( 'dpkg-source' '_dpkg_source' 'dput' '_dput' 'du' '_du' +'dumpadm' '_dumpadm' 'dumper' '_dumper' 'dumper.exe' '_dumper' 'dupload' '_dupload' @@ -271,6 +276,7 @@ _comps=( 'g++' '_gcc' 'galeon' '_webbrowser' 'gcc' '_gcc' +'gcore' '_gcore' 'gdb' '_gdb' 'gdiff' '_diff' 'genisoimage' '_genisoimage' @@ -362,7 +368,6 @@ _comps=( 'git-mktree' '_git' 'git-mv' '_git' 'git-name-rev' '_git' -'git-octopus' '_git' 'git-pack-objects' '_git' 'git-pack-redundant' '_git' 'git-pack-refs' '_git' @@ -422,6 +427,7 @@ _comps=( 'gmake' '_make' 'gmplayer' '_mplayer' 'gnome-gv' '_gnome-gv' +'gnupod_addsong' '_gnupod' 'gnupod_addsong.pl' '_gnupod' 'gnupod_check' '_gnupod' 'gnupod_check.pl' '_gnupod' @@ -507,6 +513,7 @@ _comps=( 'import' '_imagemagick' 'inc' '_mh' 'includeres' '_psutils' +'inetadm' '_inetadm' 'info' '_texinfo' 'infocmp' '_terminals' 'insmod' '_modutils' @@ -517,7 +524,6 @@ _comps=( 'ionice' '_ionice' 'ip' '_ip' 'ipset' '_ipset' -'ip' '_ip' 'iptables' '_iptables' 'iptables-restore' '_iptables' 'iptables-save' '_iptables' @@ -605,6 +611,7 @@ _comps=( 'mcd' '_mtools' 'mcopy' '_mtools' 'md5sum' '_md5sum' +'mdadm' '_mdadm' 'mdel' '_mtools' 'mdeltree' '_mtools' 'mdir' '_mtools' @@ -703,12 +710,15 @@ _comps=( 'oggdec' '_vorbis' 'oggenc' '_vorbis' 'ogginfo' '_vorbis' +'okular' '_pdf' 'open' '_open' 'opera' '_webbrowser' 'p4' '_perforce' 'p4d' '_perforce' 'pack' '_pack' 'packf' '_mh' +'pacman' '_pacman' +'pacman.static' '_pacman' '-parameter-' '_parameter' 'parsehdlist' '_urpmi' 'passwd' '_users' @@ -729,6 +739,7 @@ _comps=( 'pdftotext' '_pdf' 'perl' '_perl' 'perldoc' '_perldoc' +'pfexec' '_pfexec' 'pfiles' '_pids' 'pflags' '_pids' 'phoenix' '_webbrowser' @@ -746,7 +757,6 @@ _comps=( 'pkginfo' '_pkginfo' 'pkg_info' '_bsd_pkg' 'pkgrm' '_pkgrm' -'pkg_info' '_bsd_pkg' 'pkgtool' '_pkgtool' 'pldd' '_pids' 'pmake' '_make' @@ -773,9 +783,6 @@ _comps=( 'portsnap' '_portsnap' 'postsuper' '_postfix' 'powerd' '_powerd' -'portlint' '_portlint' -'portsnap' '_portsnap' -'postsuper' '_postfix' 'prcs' '_prcs' 'prev' '_mh' 'print' '_print' @@ -807,13 +814,14 @@ _comps=( 'pstops' '_psutils' 'pstotgif' '_pspdf' 'pswrap' '_ps' -'ptree' '_pids' +'ptree' '_ptree' 'pump' '_pump' 'pushd' '_cd' 'putclip' '_putclip' 'putclip.exe' '_putclip' 'pwait' '_pids' 'pwdx' '_pids' +'pydoc' '_pydoc' 'pyhtmlizer' '_twisted' 'python' '_python' 'qemu' '_qemu' @@ -832,6 +840,9 @@ _comps=( 'rcsdiff' '_rcs' 'read' '_read' 'readonly' '_typeset' +'readshortcut' '_readshortcut' +'readshortcut.exe' '_readshortcut' +'rebootin' '_rebootin' '-redirect-' '_redirect' '-redirect-,<,bunzip2' '_bzip2' '-redirect-,<,bzip2' '_bzip2' @@ -867,6 +878,7 @@ _comps=( 'rmm' '_mh' 'rmmod' '_modutils' 'rpm' '_rpm' +'rpmbuild' '_rpmbuild' 'rrdtool' '_rrdtool' 'rsh' '_rlogin' 'rsync' '_rsync' @@ -882,6 +894,7 @@ _comps=( 'rwho' '_hosts' 'sabcmd' '_sablotron' 'sact' '_sccs' +'savecore' '_savecore' 'scan' '_mh' 'sccs' '_sccs' 'sccsdiff' '_sccs' @@ -893,6 +906,8 @@ _comps=( 'serialver' '_java' 'service' '_service' 'set' '_set' +'setfacl' '_setfacl' +'setfacl.exe' '_setfacl' 'setfattr' '_attr' 'setopt' '_setopt' 'sftp' '_ssh' @@ -936,7 +951,12 @@ _comps=( 'su' '_su' '-subscript-' '_subscript' 'sudo' '_sudo' +'sudoedit' '_sudo' 'surfraw' '_surfraw' +'svcadm' '_svcadm' +'svccfg' '_svccfg' +'svcprop' '_svcprop' +'svcs' '_svcs' 'svn' '_subversion' 'svnadmin' '_subversion' 'svnadmin-static' '_subversion' @@ -953,10 +973,15 @@ _comps=( 'tcp_open' '_tcpsys' 'tcptraceroute' '_tcptraceroute' 'tcsh' '_sh' +'tda' '_devtodo' +'tdd' '_devtodo' +'tde' '_devtodo' +'tdr' '_devtodo' 'telnet' '_telnet' 'tex' '_tex' 'texi2dvi' '_texinfo' 'texindex' '_texinfo' +'tg' '_topgit' 'tidy' '_tidy' '-tilde-' '_tilde' 'time' '_precommand' @@ -966,6 +991,7 @@ _comps=( 'tkinfo' '_texinfo' 'tkmktap' '_twisted' 'tla' '_tla' +'todo' '_devtodo' 'todo.sh' '_todo.sh' 'toilet' '_toilet' 'totdconfig' '_totd' @@ -1144,20 +1170,25 @@ _comps=( 'zcat' '_zcat' 'zcompile' '_zcompile' 'zcp' '_zmv' +'zdelattr' '_zattr' 'zdump' '_zdump' 'zed' '_zed' 'zen' '_webbrowser' 'zfs' '_zfs' +'zgetattr' '_zattr' 'zip' '_zip' 'zipinfo' '_zip' 'zle' '_zle' +'zlistattr' '_zattr' 'zln' '_zmv' +'zlogin' '_zlogin' 'zmail' '_mail' 'zmodload' '_zmodload' 'zmv' '_zmv' 'zone' '_hosts' 'zpool' '_zpool' 'zpty' '_zpty' +'zsetattr' '_zattr' 'zsh' '_sh' 'zstat' '_stat' 'zstyle' '_zstyle' @@ -1175,9 +1206,11 @@ _services=( 'iceweasel' 'firefox' 'Mail' 'mail' 'mailx' 'mail' +'mktunes.pl' 'mktunes' 'nail' 'mail' 'ncl' 'nc' 'nedit-nc' 'nc' +'pacman.static' 'pacman' 'pcat' 'unpack' '-redirect-,<,bunzip2' 'bunzip2' '-redirect-,<,bzip2' 'bzip2' @@ -1191,6 +1224,7 @@ _services=( 'remsh' 'rsh' 'slogin' 'ssh' 'svnadmin-static' 'svnadmin' +'tunes2pod.pl' 'tunes2pod' 'xelatex' 'latex' 'xetex' 'tex' ) @@ -1263,19 +1297,20 @@ autoload -Uz _a2ps _a2utils _aap _acpi _acpitool \ _chflags _chkconfig _chmod _chown _chrt \ _combination _comm _command _command_names _compdef \ _complete _complete_debug _complete_help _complete_help_generic _complete_tag \ - _compress _condition _configure _correct _correct_filename \ - _correct_word _cowsay _cp _cpio _cplay \ - _cssh _csup _ctags_tags _cut _cvs \ - _cvsup _cygcheck _cygpath _cygrunsrv _cygserver \ - _cygstart _dak _darcs _date _dchroot \ - _dchroot-dsa _dcop _dd _debchange _debdiff \ - _debfoster _deb_packages _debsign _default _defaults \ - _delimiters _describe _description _dhclient _dict \ - _dict_words _diff _diff_options _diffstat _directories \ - _directory_stack _dir_list _dirs _disable _dispatch \ - _django _dlocate _dmidecode _domains _dpatch-edit-patch \ - _dpkg _dpkg-buildpackage _dpkg-cross _dpkg-repack _dpkg_source \ - _dput _du _dumper _dupload _dvi \ + _compress _condition _configure _coreadm _correct \ + _correct_filename _correct_word _cowsay _cp _cpio \ + _cplay _cssh _csup _ctags_tags _cut \ + _cvs _cvsup _cygcheck _cygpath _cygrunsrv \ + _cygserver _cygstart _dak _darcs _date \ + _dchroot _dchroot-dsa _dcop _dd _debchange \ + _debdiff _debfoster _deb_packages _debsign _default \ + _defaults _delimiters _describe _description _devtodo \ + _dhclient _dhcpinfo _dict _dict_words _diff \ + _diff_options _diffstat _directories _directory_stack _dir_list \ + _dirs _disable _dispatch _django _dladm \ + _dlocate _dmidecode _domains _dpatch-edit-patch _dpkg \ + _dpkg-buildpackage _dpkg-cross _dpkg-repack _dpkg_source _dput \ + _du _dumpadm _dumper _dupload _dvi \ _dynamic_directory_name _ecasound _echotc _echoti _elinks \ _elm _email_addresses _emulate _enable _enscript \ _env _equal _ethtool _expand _expand_alias \ @@ -1284,28 +1319,29 @@ autoload -Uz _a2ps _a2utils _aap _acpi _acpitool \ _finger _fink _first _flasher _flex \ _floppy _fortune _freebsd-update _fsh _functions \ _fuse_arguments _fuser _fusermount _fuse_values _gcc \ - _gdb _generic _genisoimage _getclip _getconf \ - _getent _getfacl _getmail _git _global \ - _global_tags _globqual_delims _globquals _gnome-gv _gnu_generic \ - _gnupod _gnutls _gpg _gphoto2 _gprof \ - _gqview _grep _grep-excuses _groff _groups \ - _growisofs _gs _guard _guilt _gv \ - _gzip _hash _hdiutil _history _history_complete_word \ - _history_modifiers _hosts _iconv _id _ifconfig \ - _iftop _ignored _imagemagick _init_d _in_vared \ - _invoke-rc.d _ionice _ip _ipset _iptables \ - _irssi _ispell _iwconfig _java _java_class \ - _jobs _jobs_bg _jobs_builtin _jobs_fg _joe \ - _join _kfmclient _kill _killall _kld \ - _knock _kvno _last _ldd _ld_debug \ - _less _lighttpd _limit _limits _linda \ - _links _lintian _list _list_files _loadkeys \ - _locales _locate _logical_volumes _look _losetup \ - _lp _ls _lscfg _lsdev _lslv \ - _lsof _lspv _lsusb _lsvg _lynx \ - _lzop _mac_applications _mac_files_for_application _madison _mail \ - _mailboxes _main_complete _make _make-kpkg _man \ - _match _math _md5sum _members _mencal \ + _gcore _gdb _generic _genisoimage _getclip \ + _getconf _getent _getfacl _getmail _git \ + _global _global_tags _globflags _globqual_delims _globquals \ + _gnome-gv _gnu_generic _gnupod _gnutls _gpg \ + _gphoto2 _gprof _gqview _grep _grep-excuses \ + _groff _groups _growisofs _gs _guard \ + _guilt _gv _gzip _hash _have_glob_qual \ + _hdiutil _history _history_complete_word _history_modifiers _hosts \ + _iconv _id _ifconfig _iftop _ignored \ + _imagemagick _inetadm _init_d _in_vared _invoke-rc.d \ + _ionice _ip _ipset _iptables _irssi \ + _ispell _iwconfig _java _java_class _jobs \ + _jobs_bg _jobs_builtin _jobs_fg _joe _join \ + _kfmclient _kill _killall _kld _knock \ + _kvno _last _ldd _ld_debug _less \ + _lighttpd _limit _limits _linda _links \ + _lintian _list _list_files _loadkeys _locales \ + _locate _logical_volumes _look _losetup _lp \ + _ls _lscfg _lsdev _lslv _lsof \ + _lspv _lsusb _lsvg _lynx _lzop \ + _mac_applications _mac_files_for_application _madison _mail _mailboxes \ + _main_complete _make _make-kpkg _man _match \ + _math _md5sum _mdadm _members _mencal \ _menu _mercurial _mere _mergechanges _message \ _metaflac _mh _mii-tool _mime_types _mkdir \ _mkshortcut _mkzsh _module _module-assistant _modutils \ @@ -1316,141 +1352,60 @@ autoload -Uz _a2ps _a2utils _aap _acpi _acpitool \ _netscape _newsgroups _next_label _next_tags _nice \ _nmap _normal _nothing _nslookup _object_classes \ _oldlist _open _options _options_set _options_unset \ - _other_accounts _pack _parameter _parameters _patch \ - _path_commands _path_files _pax _pbm _pdf \ - _perforce _perl _perl_basepods _perldoc _perl_modules \ - _php _physical_volumes _pick_variant _pids _pine \ - _ping _piuparts _pkgadd _pkg-config _pkginfo \ - _pkg_instance _pkgrm _pkgtool _pon _portaudit \ - _portlint _ports _portsnap _postfix _powerd \ - _prcs _precommand _prefix _print _printenv \ - _printers _prompt _ps _pscp _pspdf \ - _psutils _pump _putclip _python _qemu \ - _qiv _qtplay _quilt _raggle _rake \ - _ranlib _rar _rcs _read _read_comp \ - _redirect _regex_arguments _regex_words _renice _reprepro \ - _requested _retrieve_cache _retrieve_mac_apps _ri _rlogin \ - _rm _rpm _rrdtool _rsync _rubber \ - _attr _auto-apt _autocd _bash_completions _baz \ - _bind_addresses _bindkey _bison _bittorrent _bogofilter \ - _brace_parameter _brctl _bsd_pkg _bts _bug \ - _builtin _bzip2 _bzr _cache_invalid _cal \ - _calendar _call_function _canonical_paths _ccal _cd \ - _cdbs-edit-patch _cdcd _cdrdao _cdrecord _chflags \ - _chkconfig _chmod _chown _combination _comm \ - _command _command_names _compdef _complete _complete_debug \ - _complete_help _complete_help_generic _complete_tag _compress _condition \ - _configure _correct _correct_filename _correct_word _cowsay \ - _cp _cpio _cplay _cssh _csup \ - _ctags_tags _cut _cvs _cvsup _cygcheck \ - _cygpath _cygrunsrv _cygserver _cygstart _dak \ - _darcs _date _dchroot _dchroot-dsa _dcop \ - _dd _debchange _debdiff _debfoster _deb_packages \ - _debsign _default _defaults _delimiters _describe \ - _description _dhclient _dict _dict_words _diff \ - _diff_options _diffstat _directories _directory_stack _dir_list \ - _dirs _disable _dispatch _dlocate _dmidecode \ - _domains _dpatch-edit-patch _dpkg _dpkg-buildpackage _dpkg-cross \ - _dpkg-repack _dpkg_source _dput _du _dumper \ - _dupload _dvi _ecasound _echotc _echoti \ - _elinks _elm _email_addresses _emulate _enable \ - _enscript _env _equal _expand _expand_alias \ - _expand_word _fakeroot _fc _fetchmail _figlet \ - _file_descriptors _files _file_systems _find _finger \ - _fink _first _flasher _flex _floppy \ - _fortune _fsh _functions _fuse_arguments _fuser \ - _fusermount _fuse_values _gcc _gdb _generic \ - _genisoimage _getclip _getconf _getent _getfacl \ - _getmail _git _global _global_tags _globqual_delims \ - _globquals _gnome-gv _gnu_generic _gnutls _gpg \ - _gphoto2 _gprof _gqview _grep _groff \ - _groups _growisofs _gs _guard _guilt \ - _gv _gzip _hash _hdiutil _history \ - _history_complete_word _history_modifiers _hosts _iconv _id \ - _ifconfig _ignored _imagemagick _init_d _in_vared \ - _invoke-rc.d _ip _iptables _irssi _ispell \ - _iwconfig _java _java_class _jobs _jobs_bg \ - _jobs_builtin _jobs_fg _joe _kfmclient _kill \ - _killall _kld _knock _kvno _last \ - _ldd _ld_debug _less _lighttpd _limit \ - _limits _linda _links _lintian _list \ - _list_files _loadkeys _locales _locate _logical_volumes \ - _look _losetup _lp _ls _lscfg \ - _lsdev _lslv _lsof _lspv _lsusb \ - _lsvg _lynx _lzop _mac_applications _mac_files_for_application \ - _madison _mail _mailboxes _main_complete _make \ - _make-kpkg _man _match _math _md5sum \ - _members _mencal _menu _mercurial _mere \ - _mergechanges _message _metaflac _mh _mii-tool \ - _mime_types _mkdir _mkshortcut _mkzsh _module \ - _module-assistant _modutils _mondo _monotone _most_recent_file \ - _mount _mozilla _mpc _mplayer _mt \ - _mtools _mtr _multi_parts _mutt _my_accounts \ - _mysqldiff _mysql_utils _nautilus _ncftp _nedit \ - _netcat _net_interfaces _netscape _newsgroups _next_label \ - _next_tags _nice _nmap _normal _nothing \ - _nslookup _object_classes _oldlist _open _options \ - _options_set _options_unset _other_accounts _pack _parameter \ - _parameters _patch _path_commands _path_files _pax \ - _pbm _pdf _perforce _perl _perl_basepods \ - _perldoc _perl_modules _php _physical_volumes _pick_variant \ - _pids _pine _ping _piuparts _pkg-config \ - _pkgtool _pon _portlint _ports _portsnap \ - _postfix _prcs _precommand _prefix _print \ - _printenv _printers _prompt _ps _pscp \ - _pspdf _psutils _pump _putclip _python \ - _qemu _qiv _qtplay _quilt _raggle \ - _rake _ranlib _rar _rcs _read \ - _read_comp _redirect _regex_arguments _regex_words _renice \ + _other_accounts _pack _pacman _parameter _parameters \ + _patch _path_commands _path_files _pax _pbm \ + _pdf _perforce _perl _perl_basepods _perldoc \ + _perl_modules _pfexec _php _physical_volumes _pick_variant \ + _pids _pine _ping _piuparts _pkgadd \ + _pkg-config _pkginfo _pkg_instance _pkgrm _pkgtool \ + _pon _portaudit _portlint _ports _portsnap \ + _postfix _powerd _prcs _precommand _prefix \ + _print _printenv _printers _prompt _ps \ + _pscp _pspdf _psutils _ptree _pump \ + _putclip _pydoc _python _qemu _qiv \ + _qtplay _quilt _raggle _rake _ranlib \ + _rar _rcs _read _read_comp _readshortcut \ + _rebootin _redirect _regex_arguments _regex_words _renice \ _reprepro _requested _retrieve_cache _retrieve_mac_apps _ri \ - _rlogin _rpm _rrdtool _rsync _rubber \ - _ruby _sablotron _samba _sccs _sched \ - _schroot _screen _sed _sep_parts _service \ - _services _set _set_command _setopt _setup \ - _sh _showmount _signals _sisu _slrn \ - _smit _socket _softwareupdate _sort _source \ - _spamassassin _sqsh _ssh _sshfs _stat \ - _stgit _store_cache _strace _strip _stty \ - _su _sub_commands _subscript _subversion _sudo \ - _suffix_alias_files _surfraw _svn-buildpackage _sysctl _tags \ - _tar _tar_archive _tardy _tcpdump _tcpsys \ - _smit _socket _softwareupdate _source _spamassassin \ - _sqsh _ssh _sshfs _stat _store_cache \ - _strip _stty _su _sub_commands _subscript \ - _subversion _sudo _suffix_alias_files _surfraw _svn-buildpackage \ - _sysctl _tags _tar _tar_archive _tardy \ - _tcptraceroute _telnet _terminals _tex _texi \ - _texinfo _tidy _tiff _tilde _tilde_files \ - _time_zone _tin _tla _todo.sh _toilet \ - _toolchain-source _totd _tpb _tpconfig _tracepath \ + _rlogin _rm _rpm _rpmbuild _rrdtool \ + _rsync _rubber _ruby _sablotron _samba \ + _savecore _sccs _sched _schroot _screen \ + _sed _sep_parts _service _services _set \ + _set_command _setfacl _setopt _setup _sh \ + _showmount _signals _sisu _slrn _smit \ + _socket _softwareupdate _sort _source _spamassassin \ + _sqsh _ssh _sshfs _stat _stgit \ + _store_cache _strace _strip _stty _su \ + _sub_commands _subscript _subversion _sudo _suffix_alias_files \ + _surfraw _svcadm _svccfg _svcprop _svcs \ + _svcs_fmri _svn-buildpackage _sysctl _tags _tar \ + _tar_archive _tardy _tcpdump _tcpsys _tcptraceroute \ + _telnet _terminals _tex _texi _texinfo \ + _tidy _tiff _tilde _tilde_files _time_zone \ + _tin _tla _todo.sh _toilet _toolchain-source \ + _topgit _totd _tpb _tpconfig _tracepath \ _trap _ttyctl _tune2fs _twisted _typeset \ _ulimit _uml _unace _uname _unexpand \ _unhash _uniq _units _unsetopt _update-alternatives \ _update-rc.d _urls _urpmi _urxvt _uscan \ - _user_admin _user_at_host _users _users_on _valgrind \ - _value _values _vared _vars _vim \ - _vim-addons _vnc _volume_groups _vorbis _vorbiscomment \ - _vserver _vux _w3m _wait _wajig \ - _wakeup_capable_devices _wanna-build _wanted _webbrowser _wget \ - _whereis _which _whois _wiggle _xargs \ - _x_arguments _xauth _x_borderwidth _x_color _x_colormapid \ - _x_cursor _x_display _xdvi _x_extension _xfig \ - _x_font _x_geometry _x_keysym _xloadimage _x_locale \ - _xmlsoft _xmms2 _x_modifier _xmodmap _x_name \ - _xpdf _xrandr _x_resource _xscreensaver _x_selection_timeout \ - _xset _xt_arguments _xterm _x_title _xt_session_id \ - _x_utils _xv _x_visual _x_window _xwit \ - _yast _yodl _yp _yum _zcalc_line \ - _zcat _zcompile _zdump _zed _zfs \ - _zfs_dataset _zfs_pool _zftp _zip _zle \ - _zmodload _zmv _zpool _zpty _zstyle - _xmlsoft _x_modifier _xmodmap _x_name _xpdf \ - _xrandr _x_resource _xscreensaver _x_selection_timeout _xset \ - _xt_arguments _xterm _x_title _xt_session_id _x_utils \ - _xv _x_visual _x_window _xwit _yast \ - _yodl _yp _yum _zcat _zcompile \ - _zdump _zed _zftp _zip _zle \ - _zmodload _zmv _zpty _zstyle + _user_admin _user_at_host _user_expand _users _users_on \ + _valgrind _value _values _vared _vars \ + _vim _vim-addons _vnc _volume_groups _vorbis \ + _vorbiscomment _vserver _vux _w3m _wait \ + _wajig _wakeup_capable_devices _wanna-build _wanted _webbrowser \ + _wget _whereis _which _whois _wiggle \ + _xargs _x_arguments _xauth _x_borderwidth _x_color \ + _x_colormapid _x_cursor _x_display _xdvi _x_extension \ + _xfig _x_font _x_geometry _x_keysym _xloadimage \ + _x_locale _xmlsoft _xmms2 _x_modifier _xmodmap \ + _x_name _xpdf _xrandr _x_resource _xscreensaver \ + _x_selection_timeout _xset _xt_arguments _xterm _x_title \ + _xt_session_id _x_utils _xv _x_visual _x_window \ + _xwit _yast _yodl _yp _yum \ + _zattr _zcalc_line _zcat _zcompile _zdump \ + _zed _zfs _zfs_dataset _zfs_pool _zftp \ + _zip _zle _zlogin _zmodload _zmv \ + _zpool _zpty _zstyle autoload -Uz +X _call_program typeset -gUa _comp_assocs diff --git a/.zsh/00_basic.zsh b/.zsh/00_basic.zsh index f29514e..4aa29b6 100644 --- a/.zsh/00_basic.zsh +++ b/.zsh/00_basic.zsh @@ -1,7 +1,7 @@ # Lines configured by zsh-newuser-install HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 +HISTSIZE=10000 +SAVEHIST=10000 export HISTTIMEFORMAT="%h/%d - %H:%M:%S " export HISTCONTROL=”ignoredups” #export HISTIGNORE=”&:ls:[bf]g:exit” @@ -33,7 +33,8 @@ bashcompinit # Activate Prompt autoload -U promptinit promptinit -prompt bart green red +prompt adam1 +prompt bart # pushd pour cd @@ -56,6 +57,13 @@ zmodload zsh/complist setopt extendedglob zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31" +#completion des hosts avec le contenue de know_hosts +#local _myhosts +#if [[ -f $HOME/.ssh/known_hosts ]]; then +# _myhosts=( ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} ) +# zstyle ':completion:*' hosts $_myhosts +#fi + #menu pour la completion zstyle ':completion:*' menu select=2 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s @@ -67,6 +75,7 @@ alias ll='ls --color=auto -lh' alias la='ls --color=auto -lha' alias lll='ls --color=auto -lh | less' alias lsg='ls | grep -i ' +alias ..='cd ..' # couleur affiche dans less ( sarosque ) export LESS="$LESS -R" diff --git a/.zsh/host:archAres/Environment.zsh b/.zsh/host:archAres/Environment.zsh new file mode 100755 index 0000000..336985c --- /dev/null +++ b/.zsh/host:archAres/Environment.zsh @@ -0,0 +1,41 @@ +#export http_proxy="http://grp-horus:3128" +#export https_proxy="http://grp-horus:3128" +#export ftp_proxy="http://grp-horus:3128" + +#Java And Android Env +export ECLIPSE_HOME=/home/mathieu/Outils/eclipse + +#Perso Bin +export PATH=$HOME/bin/bin:$HOME/bin:$PATH + +export EDITOR=/usr/bin/vim +#export http_proxy="http://grp-horus:3128" +#export https_proxy="http://grp-horus:3128" +#export ftp_proxy="http://grp-horus:3128" +export ANDROID_DIR=/home/mathieu/android/android-sdk-linux_x86-1.5_r1 +export ANDROID_HOME=/home/mathieu/android/android-sdk-linux +export ANDROID_SKD=/home/mathieu/android/android-sdk-linux/platforms/android-1.6 +#export PATH=$ANDROID_DIR/tools:$PATH +export JAVA_HOME=/usr/lib/jvm/java-6-sun +export CATALINA_HOME=/usr/share/tomcat6 +export PATH=$JAVA_HOME/bin/:$ANDROID_HOME/tools:$ANDROID_SKD/tools:$ECLIPSE_HOME:$PATH + + + +#emacsAndViKeys +#bindkey -v +#bindkey "^P" vi-up-line-or-history +#bindkey "^N" vi-down-line-or-history +# +#bindkey "^[[1~" vi-beginning-of-line # Home +#bindkey "^[[4~" vi-end-of-line # End +#bindkey '^[[2~' beep # Insert +#bindkey '^[[3~' delete-char # Del +#bindkey '^[[5~' vi-backward-blank-word # Page Up +#bindkey '^[[6~' vi-forward-blank-word # Page Down + + +# make ctrl-r working +#bindkey -M viins '^r' history-incremental-search-backward +#bindkey -M vicmd '^r' history-incremental-search-backward + diff --git a/scripts/getMadame.sh b/scripts/getMadame.sh new file mode 100755 index 0000000..88c2c31 --- /dev/null +++ b/scripts/getMadame.sh @@ -0,0 +1,68 @@ +#!/bin/bash + +########################################### +# +# Get the daily picture from http://www.bonjourmadame.fr on your desktop +# +# Author : Magetys +# Link : http://www.magetys.com +# Version : 1.0.1 +# Dependency : libnotify-bin +# Note : Works on Gnome and Xfce +# +########################################### + +function chkinternet { + if [ `wget -q -O - google.com | grep -c "Google"` != 0 ] + then + echo 1 + else + echo 0 + fi +} + + +function fixdbus { + export DISPLAY=0 + + while read line + do + echo $line | grep -vqe "^#" + if [ $? -eq 0 ]; then export $line; fi + done < ~/.dbus/session-bus/$(cat /var/lib/dbus/machine-id)-$DISPLAY + + echo Dbus fixed OK +} + +# please install libnotify-bin to popup notification +function notify { + if [[ -e /usr/bin/notify-send ]] + then + notify-send "Bonjour $USER" "Je suis arrivee sur ton bureau" -i $todaywp + fi +} + +fileprefix=$HOME/Images/bonjourmadame-wp- + +todaywp=$fileprefix$(date +%y-%m-%d-%H-%M).jpg + +while [ $(chkinternet) != "1" ]; do sleep 15; done +echo Internet connection OK + +wget -O - http://www.bonjourmadame.fr | grep -Eo "(http://www.bonjourmadame.fr/photo/[^\"]+)|(http://[0-9]+.media.tumblr.com/tumblr[^\"]+)" | head -n 1 | wget -q -i - -O $todaywp +echo Photo downloaded OK + +ls $fileprefix* | sort -r | tail -n +2 | xargs rm -f + +fixdbus + +if [[ -e /usr/bin/xfconf-query ]] +then + xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s $todaywp +elif [[ -e /usr/bin/gconftool-2 ]] +then + gconftool-2 --type string --set /desktop/gnome/background/picture_filename $todaywp +fi + +notify +