X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-zsh-refcard.tex.in;h=e03be48b232bc8548bdf755b58c68e5dcfbbea1c;hb=40d9d975919a050c813c42ffaeb0204f5a8efc7b;hp=e946346378cd6c73f2792662bb2cd89b25794941;hpb=e5b3c9c0e9199f7bc2e2778591e888419e946f5c;p=grml-gen-zshrefcard.git diff --git a/grml-zsh-refcard.tex.in b/grml-zsh-refcard.tex.in index e946346..e03be48 100644 --- a/grml-zsh-refcard.tex.in +++ b/grml-zsh-refcard.tex.in @@ -1,3 +1,13 @@ +% This file is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% This file is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. + \documentclass[8pt, % 8pt a4paper, % A4 oneside, % Einseitig @@ -47,40 +57,20 @@ %%% }}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%% PDF {{{ -\newif\ifpdf - \ifx\pdfoutput\undefined - \pdffalse - \else - \pdfoutput=1 - \pdftrue - \fi - -\ifpdfoutput{ - \usepackage[pdftex]{graphicx} - \DeclareGraphicsExtensions{.pdf} - \pdfcompresslevel=9 - \usepackage[% - pdftex=true, - backref=true, - colorlinks=true, - bookmarks=true, - breaklinks=true, - linktocpage=true, - bookmarksopen=false, - bookmarksnumbered=false, - pdfpagemode=None - ]{hyperref} -}{ - \usepackage[dvips]{graphicx} - \DeclareGraphicsExtensions{.eps} - % \usepackage[% - % dvips, - % breaklinks=true, - % colorlinks=false - % ]{hyperref} -} +\usepackage[pdftex]{graphicx} +\DeclareGraphicsExtensions{.pdf} +\pdfcompresslevel=9 +\usepackage[% + pdftex=true, + backref=true, + colorlinks=true, + bookmarks=true, + breaklinks=true, + linktocpage=true, + bookmarksopen=false, + bookmarksnumbered=false, + pdfpagemode=None +]{hyperref} %%% }}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -128,7 +118,7 @@ %%% Unten: Links, Mitte, Rechts \ifoot[]{\vspace{-3pt}GRML-Zsh-Refcard} \cfoot[]{} - \ofoot[]{\vspace{-3pt}\copyright 2005-2008 \href{mailto:julius@grml.org}{Julius Plenz}, + \ofoot[]{\vspace{-3pt}\copyright 2005-2013 \href{mailto:julius@grml.org}{Julius Plenz}, \href{mailto:mika@grml.org}{Michael Prokop} and \href{mailto:ft@grml.org}{Frank Terbeck}} %%% }}} @@ -263,11 +253,6 @@ values: @@INSERT-variables@@ \commandlistend -\commandlistbegin -\command{umask @@INSERT-other-umask@@}{new files automatically get permissions \kbd{@@INSERT-other-umaskstr@@}} -\command{umask @@INSERT-other-r_umask@@}{new files for root user \kbd{@@INSERT-other-r_umaskstr@@}} -\commandlistend - \subsection*{Keybindings} Default keybinding mode is Emacs, i.e. you can use Emacs keybinds like @@ -346,12 +331,12 @@ Please note: if not executed as root, these aliases try to run the command via s As of version 0.9, grml does not enable global aliases anymore. Instead, a feature similiar to vim's 'iab' was added. The default key-sequence to trigger -the expansion is ',.'. +the expansion is '\texttt{C-x\,.}'. Example: \commandlistbegin -\kbd{co}\begin{Huge},.\end{Huge} \quad expands to: \kbd{./configure \&\& make \&\& sudo make install} +\kbd{co}\textbf{} \quad expands to: \kbd{./configure \&\& make \&\& sudo make install} \commandlistend The configuration of this feature and its implementation are described on the zsh wiki @@ -370,13 +355,6 @@ like this as well. \subsection*{Functions for user (grml)} -\textbf{Searching} - -\commandlistbegin -@@INSERT-functions-search@@ -\commandlistend - -\vspace{12pt} \textbf{Shortcuts} \commandlistbegin