--- /dev/null
+// Aptitude configuration file.
+
+
+aptitude {
+ UI {
+ // Only display menubar when it's active.
+ Menubar-Autohide "true";
+ // Don't display often used commands as help, I know them.
+ HelpBar "false";
+
+ // Use normal grouping with origin (~O) package as new top level.
+ // Thanks to hark in #debian on Freenode (2009-04-02 19:14) and
+ // http://noone.org/blog/English/Computer/Debian/Group%20by%20origin%20in%20aptitude.futile
+ // the site he pointed me to.
+ Default-Grouping "task,status,pattern(~O, !~O => other),section(subdirs,passthrough),section(topdir)";
+ // Same as Default-Grouping.
+ Default-Preview-Grouping "pattern(~O),action";
+ }
+
+ // Don't display packages which only contain build dependencies.
+ Pkg-Display-Limit "!-build-depends";
+}
. ../lib.sh
-# Link setup.
if [ `os` = darwin ]; then
# Sets a custom PATH for GUI applications.
mkdir -p ~/.MacOSX
link darwin/environment.plist ~/.MacOSX/environment.plist
fi
+if [ `os` = debian ]; then
+ # Necessary as aptitude rewrites the config file on every start.
+ cp debian/aptitude/config.real debian/aptitude/config
+
+ link debian/aptitude ~/.aptitude
+fi