1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 12:51:58 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Felix Stupp
26e9cead1a
feat(plugins): Plugin "debian": Switch order of "apt" and "aptitude" for detection (#7533)
* Switch order of "apt" and "aptitude" for detection

"apt" is installed by default at Debian (maybe Ubuntu too), while "aptitude" does not seem to be installed by default.
For that, it may be better for most of the users to prefer "aptitude" if installed.

* plugins/debian/README: Change of order mirroded into documentation
2021-06-12 07:10:06 -07:00
Marc Cornellà
f484f88b42 fix(debian): add quotes to kclean alias (#3066)
Co-authored-by: la-magra <via.magra@gmail.com>
2021-01-16 19:58:29 +01:00
Marc Cornellà
a870fee6a7
Update syntax on the remaining functions 2019-09-08 14:58:46 +02:00
Braxton Schafer
b3d3ce8aa6 Fix bad function definitions in Debian plugin
There appears to be a definition issue for some functions/aliases which
result in the following errors when sourcing .zshrc:

```
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: defining function based on alias `abd'
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: parse error near `()'
```

Fixes #7986
2019-09-03 14:15:13 -05:00
Marc Cornellà
7f98e1cb52
debian: fix alias completion, rename ag and clean up README (#7698)
* Use double quotes to cache value of $apt_pref and $apt_upgr
* Clean up and fix syntax of command checks
* Clean up README and document $apt_pref/$apt_upgr overriding mechanism
* Rename `ag` alias (apt upgrade) to `au`
* Clean up README and fix syntax

Fixes #3686 
Fixes #4660 
Closes #5906

Co-authored-by: Noah Vesely <fowlslegs@riseup.net>
2019-06-11 15:02:04 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Sascha Rudolph
0639582f73 6098 - add support for apt in debian plugin (#6122)
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
2018-06-29 18:22:46 +02:00
Canux
1ec5bab7d8 fix conflict with command ag (#6395)
ag is a famous command just like grep.
2017-11-06 06:41:13 -08:00
Rarylson Freitas
26aae6b583 Fix (plugins debian and ubuntu): apt-history list using zgrep (#5695)
Changing from `zcat` to `zgrep` because some `zcat` implementations do not work
if the file is not compressed.
2016-12-08 21:49:58 +01:00
Diego Rabatone Oliveira
4d0aca48da Differing upgrade and safe-upgrade
Improving with "safe-upgrade" for aptitude and "upgrade" for apt-get
2015-05-09 18:46:54 -03:00
Phil Eichinger
44467877a8 New aliases for 'apt-get' and 'aptitude' as they were overwritten by later aliases 2014-03-25 16:47:58 +01:00
Josh Chih-Hsueh Huang
ae2f6f34e3 List pkgs by size 2014-03-11 11:29:25 +08:00
Robby Russell
c9dd778ec0 Merge pull request #1201 from koraa/pull_req_debian
Fix Debian Plugin Auto Completion
2013-12-02 23:46:32 -08:00
Code Whale
4eace8753b debian plugin: ignore alias in sudo/aptitude check 2013-06-16 13:25:29 +08:00
Robby Russell
127a47b2bd Merge pull request #1249 from korjavin/aptitude
alias at=aptitude broke /usr/bin/at scheduler.
2012-12-02 12:45:03 -08:00
Robby Russell
f28041e41f Merge pull request #1284 from obmarg/feature/debianwhichfix
Debian plugin now pipes which stderr to stdout
2012-12-02 12:38:56 -08:00
Carlos Alexandro Becker
8871c7a6d0 made dpkg -i more util 2012-11-07 10:28:44 -02:00
Graeme Coupar
d3f6507a2e Debian plugin now pipes which stderr to stdout
The debian plugin calls which to determine whether aptitude & sudo are
installed.  However, if these are not installed then the error output
from which will be output.  Since this isn't really an error condition,
this commit updates the which calls to pipe stderr to stdout, thus
hiding the error messages.
2012-08-17 17:13:09 +01:00
apm
a8d7958729 alias at=aptitude broke /usr/bin/at scheduler.
Just an idea: change it to ap
2012-07-25 10:55:28 +06:00
mapc
1b36c1beae Remove debug info 2012-06-30 05:37:10 +02:00
mapc
5f37649508 Dynamicly generate completion functions to support changing apt_pref 2012-06-30 05:17:10 +02:00
mapc
e3c87611fc Add myself to the authors list 2012-06-30 02:05:05 +02:00
mapc
7d24f4cd40 Use a static apt-get where only apt-get works 2012-06-30 02:05:05 +02:00
mapc
0aa4456d56 Add completion instructions for apt/aptitude commands 2012-06-30 02:04:56 +02:00
mapc
0673425331 Add command to directly install the output of acs 2012-05-29 14:35:25 +02:00
mapc
1876f1d558 Make the $apt_pref variable evaluatet at alias expansion by using single-quotes instad of double quotes 2012-05-29 14:35:15 +02:00
Benjamin Boudreau
452f121301 Add apt-history to debian plugin 2011-11-07 13:42:16 -05:00
Daniel Bolton
d3116d4f0b Remove -s switch from apt-copy 2011-08-13 10:53:24 -04:00
Daniel Bolton
65393b4bb1 Extend root ops, switch apt-copy to plain zsh 2011-08-07 16:51:14 -04:00
Daniel Bolton
fac74012f8 Add options for su(do) and apt(itude|-get) 2011-08-07 15:30:55 -04:00
Daniel Bolton
fd55d53eb2 Fix su commands 2011-08-06 15:41:52 -04:00
Daniel Bolton
749feb2720 Merge "deb" and "debian" plugins. 2011-08-06 15:22:55 -04:00
Daniel Bolton
ce41d0e5bd Add debian plugins file 2011-03-15 20:31:14 -04:00