[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#90886: apt: Default operation should be `install'



Previously wohler@newt.com wrote:
>   I find myself running `apt-get package' all the time. It would be
>   nice if the default operation were `install.'

Just do this:

[fog;~]-301> apt() { apt-get install "$@" }
[fog;~]-302> apt zsh
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: