Browse code

add 'deb' plugin with Debian's apt aliases

Alessandro Ghedini authored on 12/03/2011 at 15:25:27
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
0
+# Aliases
1
+alias as="aptitude -F \"* %p -> %d \n(%v/%V)\" \
2
+		--no-gui --disable-columns search"	# search package
3
+alias ad="sudo apt-get update"				# update packages lists
4
+alias au="sudo apt-get update && \
5
+		sudo apt-get dselect-upgrade"		# upgrade packages
6
+alias ai="sudo apt-get install"				# install package
7
+alias ar="sudo apt-get remove --purge && \
8
+		sudo apt-get autoremove --purge"	# remove package
9
+alias ap="apt-cache policy"				# apt policy
10
+alias av="apt-cache show"				# show package info
11
+alias ac="sudo apt-get clean && sudo apt-get autoclean" # clean apt cache