Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: simple completion example? (aptitude completion doesn't work)
- X-seq: zsh-users 9252
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: simple completion example? (aptitude completion doesn't work)
- Date: Fri, 5 Aug 2005 21:36:52 +0200
- In-reply-to: <32449.1123262228@xxxxxxxxxxxxxxxxxxxxxxx>
- Kinfo: virscan ok
- Kinfo: !spam auth
- Kreccount: 1
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050802180158.GA10402@xxxxxxxxx> <19401.1123058911@xxxxxxxxxxxxxxxxxxxxxxx> <20050803101007.GA9755@xxxxxxxxx> <2356.1123064346@xxxxxxxxxxxxxxxxxxxxxxx> <20050805154030.GA16800@xxxxxxxxx> <32449.1123262228@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Oliver,
> Otherwise, the best is to start with zsh -f, run compinit and then try
> bits of your setup file until it breaks.
But that's what I did! :-)
> If aptitude -h is giving you a German (or other) translation, try adding
> LC_MESSAGES=C in but I don't think that translation would actually break
> it in this particular case.
YES, that was it! Of course, why didn't I think of that!?
But there isn't such a big difference...Hm, maybe Verwendung instead of usage?
Can you think of a workaround for international users like me?
Here is the German version:
condor:~#aptitude -h
aptitude 0.2.15.9
Verwendung: aptitude [-S dname] [-u|-i]
aptitude [Optionen] <Aktion> ...
Aktionen (wenn keine angegeben wird, startet Aptitude interaktiv):
install Installiere/Aktualisiere Pakete
remove Entferne Pakete
purge Entferne Pakete und ihre Konfigurationsdateien
hold Pakete auf »zurückhalten« setzen
unhold Einen »hold«-Befehl zurücknehmen
markauto Pakete als automatisch installiert markieren
unmarkauto Pakete als manuell installiert markieren
forbid-version Upgrade auf eine bestimmte Paketversion verbieten
update Neue Listen neuer/aktualisierbarer Paketen laden
upgrade Sicheres Upgrade durchführen
dist-upgrade Upgrade durchführen, dabei ggf. Pakete installieren/entfernen
forget-new Vergessen welche Pakete »neu« sind
search Pakete nach Namen oder Ausdruck suchen
show Details über ein Paket anzeigen
clean Heruntergeladene Pakete löschen
autoclean Alte heruntergeladene Pakete löschen
changelog Änderungsprotokoll eines Pakets
download Die .deb-Datei eines Pakets herunterladen
Optionen:
-h Dieser Hilfetext
-s Aktionen simulieren, aber nicht wirklich durchführen.
-d Pakete nur herunterladen, nichts installieren oder entfernen.
-P Immer zur Bestätigung nachfragen
-y Annehmen, dass die Antwort auf einfache ja/nein-Fragen "ja" ist
-F format Format für die Suchergebnisse angeben; vgl. Anleitung
-O order Wie die Suchergebnisse sortiert werden sollen; vgl. Anleitung
-w breite Die Breite für die Formatierung der Suchergebnisse angeben
-f Aggressiv versuchen kaputte Pakete zu reparieren.
-V Anzeigen, welche Version eines Pakets installiert wird
-D Abhängigkeiten automatisch veränderter Pakete anzeigen
-Z Größenveränderung der einzelnen Pakete anzeigen
-v Mehr Informationen ausgeben (kann mehrfach verwendet werden)
-t [release] Das »Release«, aus dem Pakete installiert werden sollen
(z.B. stable, unstable, sarge, ...)
-o schl=wert Die Einstellung 'schl' direkt setzen
--with(out)-recommends
Angeben, ob »Empfehlungen« wie starke
Abhängigkeiten gehandhabt werden sollen
-S fname Die erweiterten Aptitude-Statusinformationen aus »fname« laden
-u Neue Paketlisten beim Start laden.
-i Installationslauf am Anfang durchführen.
And English:
condor:~#aptitude -h
aptitude 0.2.15.9
Usage: aptitude [-S fname] [-u|-i]
aptitude [options] <action> ...
Actions (if none is specified, aptitude will enter interactive mode):
install - Install/upgrade packages
remove - Remove packages
purge - Remove packages and their configuration files
hold - Place packages on hold
unhold - Cancel a hold command for a package
markauto - Mark packages as having been automatically installed
unmarkauto - Mark packages as having been manually installed
forbid-version - Forbid aptitude from upgrading to a specific package version.
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
dist-upgrade - Perform an upgrade, possibly installing and removing packages
forget-new - Forget what packages are "new"
search - Search for a package by name and/or expression
show - Display detailed information about a package
clean - Erase downloaded package files
autoclean - Erase old downloaded package files
changelog - View a package's changelog
download - Download the .deb file for a package
Options:
-h This help text
-s Simulate actions, but do not actually perform them.
-d Only download packages, do not install or remove anything.
-P Always prompt for confirmation or actions
-y Assume that the answer to simple yes/no questions is 'yes'
-F format Specify a format for displaying search results; see the manual
-O order Specify how search results should be sorted; see the manual
-w width Specify the display width for formatting search results
-f Aggressively try to fix broken packages.
-V Show which versions of packages are to be installed.
-D Show the dependencies of automatically changed packages.
-Z Show the change in installed size of each package.
-v Display extra information. (may be supplied multiple times)
-t [release] Set the release from which packages should be installed
-o key=val Directly set the configuration option named 'key'
--with(out)-recommends Specify whether or not to treat recommends as
strong dependencies
-S fname: Read the aptitude extended status info from fname.
-u : Download new package lists on startup.
-i : Perform an install run on startup.
This aptitude does not have Super Cow Powers.
Thanks,
Andy.
--
http://francisco.spiegl.de Our cute son :-)
http://peru.spiegl.de Projekt Radio Marañón, Jaén, Perú
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Debian - when you have better things to do than fixing a system
Messages sorted by:
Reverse Date,
Date,
Thread,
Author