abe:zshrc.git
11 years agoAdd https://github.com/zsh-users/zsh-syntax-highlighting as submodule
Axel Beckert [Sun, 24 Jul 2011 18:08:49 +0000 (20:08 +0200)]
Add https://github.com/zsh-users/zsh-syntax-highlighting as submodule

11 years agoUse […] instead of just … for path truncation
Axel Beckert [Tue, 28 Jun 2011 20:32:24 +0000 (22:32 +0200)]
Use […] instead of just … for path truncation

11 years agoAlso put zsh version into the prompt
Axel Beckert [Tue, 28 Jun 2011 20:26:51 +0000 (22:26 +0200)]
Also put zsh version into the prompt

11 years agoUse full path in upper line for copy & paste of scp paths
Axel Beckert [Tue, 28 Jun 2011 20:23:30 +0000 (22:23 +0200)]
Use full path in upper line for copy & paste of scp paths

And put a truncated path directly before the commandline

11 years agoUse a simple UTF-8 arrow ("→") instead of a "greater than" (">").
Axel Beckert [Fri, 24 Jun 2011 18:56:03 +0000 (20:56 +0200)]
Use a simple UTF-8 arrow ("→") instead of a "greater than" (">").

Let's see, when I encounter the first box where this breaks so that I have to revert this commit. ;-)

11 years agoPut path behind user@host for copy'n'paste compatible scp syntax.
Axel Beckert [Fri, 24 Jun 2011 18:35:34 +0000 (20:35 +0200)]
Put path behind user@host for copy'n'paste compatible scp syntax.

Put the tty inside the parentheses instead, replace the @ before the
distribution codename by a blank, so all separators inside the
parentheses are blanks.

11 years agoMake prompt two lines
Axel Beckert [Fri, 24 Jun 2011 17:48:14 +0000 (19:48 +0200)]
Make prompt two lines

11 years agoExchange the "U" for Ubuntu flag in the prompt by displaying the distribution after...
Axel Beckert [Fri, 24 Jun 2011 17:47:13 +0000 (19:47 +0200)]
Exchange the "U" for Ubuntu flag in the prompt by displaying the distribution after the process name

11 years agoUpdate to grml-etc-core HEAD
Axel Beckert [Fri, 24 Jun 2011 17:44:01 +0000 (19:44 +0200)]
Update to grml-etc-core HEAD

11 years agoHashed directories: Add wheezy, natty and oneiric
Axel Beckert [Wed, 25 May 2011 13:40:33 +0000 (15:40 +0200)]
Hashed directories: Add wheezy, natty and oneiric

11 years agoUpdate to current grml-etc-core
Axel Beckert [Wed, 25 May 2011 13:39:06 +0000 (15:39 +0200)]
Update to current grml-etc-core

11 years agoSome useful aptitude aliases. Thanks Erich!
Axel Beckert [Sat, 9 Apr 2011 12:12:29 +0000 (14:12 +0200)]
Some useful aptitude aliases. Thanks Erich!

Via http://www.vitavonni.de/blog/201103/2011031502-finding-packages-for-deinstallation.html

11 years agoUpdate grml-etc-core to current HEAD
Axel Beckert [Sat, 5 Mar 2011 14:38:58 +0000 (15:38 +0100)]
Update grml-etc-core to current HEAD

11 years agonoglob youtube-dl by default, too
Axel Beckert [Sat, 5 Mar 2011 14:27:51 +0000 (15:27 +0100)]
noglob youtube-dl by default, too

11 years agoUpdate asc() to call setup-ssh-screen if it exists, else screen as usual
Axel Beckert [Tue, 23 Nov 2010 00:30:06 +0000 (01:30 +0100)]
Update asc() to call setup-ssh-screen if it exists, else screen as usual

With the exception of ssh agent-forwarding now being enabled by
default this works as before if no ~/.mutt/bin/setup-ssh-screen script
exists on the remote site.

If that script exists, it will take care of bringing the ssh-agent
to work inside the reattached screen session.

See http://www.stderr.nl/Blog/Software/Mutt/MuttRemoteAttachments.html
for the script and details and
http://samrowe.com/wordpress/ssh-agent-and-gnu-screen/ for the initial
idea.

11 years agoAdd alias isoxterm to get a legacy ISO-Latin xterm
Axel Beckert [Tue, 23 Nov 2010 00:29:44 +0000 (01:29 +0100)]
Add alias isoxterm to get a legacy ISO-Latin xterm

11 years agoSet some GIT environement variables for use with ssh -o 'SendEnv=GIT_*'
Axel Beckert [Thu, 11 Nov 2010 22:34:38 +0000 (23:34 +0100)]
Set some GIT environement variables for use with ssh -o 'SendEnv=GIT_*'

11 years agoAdd hash core=/var/log/core from corekeeper
Axel Beckert [Thu, 11 Nov 2010 02:55:21 +0000 (03:55 +0100)]
Add hash core=/var/log/core from corekeeper

11 years agoJust check for existence of directory instead of list of hostnames where it should...
Axel Beckert [Thu, 11 Nov 2010 02:54:50 +0000 (03:54 +0100)]
Just check for existence of directory instead of list of hostnames where it should exist

11 years agoUse for loop for /pub/debian-local hashed directories
Axel Beckert [Thu, 11 Nov 2010 02:53:50 +0000 (03:53 +0100)]
Use for loop for /pub/debian-local hashed directories

11 years agoAdd uc and lc aliases which call the identically named Perl functions
Axel Beckert [Fri, 5 Nov 2010 01:00:22 +0000 (02:00 +0100)]
Add uc and lc aliases which call the identically named Perl functions

11 years agoSync with grml-etc-core
Axel Beckert [Fri, 5 Nov 2010 00:35:53 +0000 (01:35 +0100)]
Sync with grml-etc-core

11 years agoMake rational-dot() also expand 'cd.' to 'cd ..'
Axel Beckert [Fri, 5 Nov 2010 00:24:23 +0000 (01:24 +0100)]
Make rational-dot() also expand 'cd.' to 'cd ..'

11 years agoComment out aliases suprseded by rational-dot()
Axel Beckert [Fri, 5 Nov 2010 00:23:05 +0000 (01:23 +0100)]
Comment out aliases suprseded by rational-dot()

11 years agoMove all cd stuff into its own file
Axel Beckert [Fri, 5 Nov 2010 00:15:33 +0000 (01:15 +0100)]
Move all cd stuff into its own file

11 years agoCosmetics for the wcd function
Axel Beckert [Thu, 4 Nov 2010 23:50:29 +0000 (00:50 +0100)]
Cosmetics for the wcd function

11 years agoFix syntax error
Axel Beckert [Thu, 4 Nov 2010 23:49:56 +0000 (00:49 +0100)]
Fix syntax error

11 years agoPrefix one more function listed together with aliases with 'function'
Axel Beckert [Thu, 4 Nov 2010 23:44:07 +0000 (00:44 +0100)]
Prefix one more function listed together with aliases with 'function'

Add some more indentation for columns, too.

11 years agoUnalias only if alias exists
Axel Beckert [Thu, 4 Nov 2010 23:39:44 +0000 (00:39 +0100)]
Unalias only if alias exists

11 years agoFix missing quoting
Axel Beckert [Thu, 4 Nov 2010 23:36:19 +0000 (00:36 +0100)]
Fix missing quoting

11 years agoAdd +0 function
Axel Beckert [Thu, 4 Nov 2010 23:31:58 +0000 (00:31 +0100)]
Add +0 function

11 years agoSupport autojump
Axel Beckert [Thu, 4 Nov 2010 23:27:30 +0000 (00:27 +0100)]
Support autojump

11 years agoAdd alias for aptitude search
Axel Beckert [Thu, 4 Nov 2010 23:14:42 +0000 (00:14 +0100)]
Add alias for aptitude search

11 years agoAdd wcd support if installed
Axel Beckert [Thu, 4 Nov 2010 23:13:29 +0000 (00:13 +0100)]
Add wcd support if installed

11 years agoSafeguard xd function due to xd not available in Lenny
Axel Beckert [Thu, 4 Nov 2010 23:02:58 +0000 (00:02 +0100)]
Safeguard xd function due to xd not available in Lenny

11 years agoReactivate lpr function
Axel Beckert [Thu, 4 Nov 2010 22:59:42 +0000 (23:59 +0100)]
Reactivate lpr function

Fix the bug which was the reason for deactivation

11 years agoPrefix functions listed together with aliases with 'function'.
Axel Beckert [Thu, 4 Nov 2010 22:39:40 +0000 (23:39 +0100)]
Prefix functions listed together with aliases with 'function'.

Also add some blanks for proper alignment.

11 years agoAlias df to df -TP | column -t
Axel Beckert [Thu, 4 Nov 2010 22:34:53 +0000 (23:34 +0100)]
Alias df to df -TP | column -t

11 years agoAdd mount without arguments as alias for mount | column -t
Axel Beckert [Thu, 4 Nov 2010 22:24:06 +0000 (23:24 +0100)]
Add mount without arguments as alias for mount | column -t

Function posted by carstenh on #debian.de.

11 years agoBe able to play tetris in zsh
Axel Beckert [Wed, 27 Oct 2010 10:23:09 +0000 (12:23 +0200)]
Be able to play tetris in zsh

11 years agoDocument how to use git submodules
Axel Beckert [Tue, 26 Oct 2010 16:34:39 +0000 (18:34 +0200)]
Document how to use git submodules

11 years agoWork with unmodified submodules where possible. Makes it easier to clone
Axel Beckert [Tue, 26 Oct 2010 16:13:04 +0000 (18:13 +0200)]
Work with unmodified submodules where possible. Makes it easier to clone

11 years agoMake prompt working again in Sid's zsh in combination with newest grml zshrc
Axel Beckert [Sat, 23 Oct 2010 08:43:35 +0000 (10:43 +0200)]
Make prompt working again in Sid's zsh in combination with newest grml zshrc

11 years agoSource original upstream zshrc instead of copying it
Axel Beckert [Sat, 23 Oct 2010 01:44:19 +0000 (03:44 +0200)]
Source original upstream zshrc instead of copying it

11 years agoSync with current grml zshrc
Axel Beckert [Sat, 23 Oct 2010 01:35:43 +0000 (03:35 +0200)]
Sync with current grml zshrc

11 years agoAdd grml-etc-core as submodule
Axel Beckert [Fri, 22 Oct 2010 23:39:49 +0000 (01:39 +0200)]
Add grml-etc-core as submodule

11 years agoalias assh -> function assh
Axel Beckert [Fri, 22 Oct 2010 23:29:42 +0000 (01:29 +0200)]
alias assh -> function assh

12 years agoAdd apt-cache showsrc aliases
Axel Beckert [Thu, 30 Sep 2010 00:08:47 +0000 (02:08 +0200)]
Add apt-cache showsrc aliases

12 years agoFix typo
Axel Beckert [Thu, 30 Sep 2010 00:06:21 +0000 (02:06 +0200)]
Fix typo

12 years agoAdd some apt-get/aptitude related aliases
Axel Beckert [Thu, 30 Sep 2010 00:05:09 +0000 (02:05 +0200)]
Add some apt-get/aptitude related aliases

12 years agoSome apt-file and apt-show-version shortcuts
Axel Beckert [Wed, 29 Sep 2010 23:55:54 +0000 (01:55 +0200)]
Some apt-file and apt-show-version shortcuts

12 years agoSUS a) doesn't need to be a _global_ alias, therefore b) no more uppercase, and c...
Axel Beckert [Thu, 2 Sep 2010 21:48:11 +0000 (23:48 +0200)]
SUS a) doesn't need to be a _global_ alias, therefore b) no more uppercase, and c) is even more useful as function

12 years agoCheck for GNU/Hurd before setting the stack limit
Axel Beckert [Mon, 2 Aug 2010 10:52:12 +0000 (10:52 +0000)]
Check for GNU/Hurd before setting the stack limit

12 years agoAdd some more hashes for /pub/debian-local/configs/$distribution plus /usr/share...
Axel Beckert [Tue, 27 Jul 2010 18:58:15 +0000 (20:58 +0200)]
Add some more hashes for /pub/debian-local/configs/$distribution plus /usr/share/doc/developers-reference

12 years agoCheck for existence of ~/sans/bin and ~/git/sans/bin and add them to the path if...
Axel Beckert [Tue, 15 Jun 2010 14:55:46 +0000 (16:55 +0200)]
Check for existence of ~/sans/bin and ~/git/sans/bin and add them to the path if they exist.

See http://git.sans.ethz.ch/?p=sans for details

12 years agodeactivate ssh agent forwarding, it doesn't work with reattached screens
Axel Beckert [Mon, 24 May 2010 23:55:37 +0000 (01:55 +0200)]
deactivate ssh agent forwarding, it doesn't work with reattached screens

12 years agoadd 'compdef asc=ssh' as suggested by jhr
Axel Beckert [Mon, 24 May 2010 23:49:44 +0000 (01:49 +0200)]
add 'compdef asc=ssh' as suggested by jhr

12 years agoDon't display the battery level inside Midnight Commander
Axel Beckert [Thu, 13 May 2010 23:29:55 +0000 (01:29 +0200)]
Don't display the battery level inside Midnight Commander

Midnight Commander doesn't support right justified prompt components.

12 years agoCheck for string 'No support for device type: battery' on STDERR
Axel Beckert [Wed, 14 Apr 2010 19:08:53 +0000 (21:08 +0200)]
Check for string 'No support for device type: battery' on STDERR

12 years agoFunction apt-rbdepends from #299228
Axel Beckert [Fri, 2 Apr 2010 15:22:50 +0000 (17:22 +0200)]
Function apt-rbdepends from #299228

12 years agoAdd line breaks and comments to XBROWSERS array
Axel Beckert [Sat, 27 Mar 2010 18:01:28 +0000 (19:01 +0100)]
Add line breaks and comments to XBROWSERS array

12 years agoReplace duplicate jemacs entry by jove, qemacs and vile
Axel Beckert [Sat, 27 Mar 2010 17:51:14 +0000 (18:51 +0100)]
Replace duplicate jemacs entry by jove, qemacs and vile

12 years agoAdd 'edit' to generic editors
Axel Beckert [Sat, 27 Mar 2010 17:42:45 +0000 (18:42 +0100)]
Add 'edit' to generic editors

12 years agoAdd line breaks and comments to EDITORS array
Axel Beckert [Sat, 27 Mar 2010 17:40:22 +0000 (18:40 +0100)]
Add line breaks and comments to EDITORS array

12 years agoAdd Opera and Chimera to list of preferred browsers.
Axel Beckert [Sat, 27 Mar 2010 17:36:01 +0000 (18:36 +0100)]
Add Opera and Chimera to list of preferred browsers.

12 years agoAdd Netsurf to list of preferred browsers. Raise preference of xlinks2
Axel Beckert [Sat, 27 Mar 2010 17:32:18 +0000 (18:32 +0100)]
Add Netsurf to list of preferred browsers. Raise preference of xlinks2

12 years agoChoose also emacsclient's alternate editor as $EDITOR itself
Axel Beckert [Sat, 27 Mar 2010 17:22:09 +0000 (18:22 +0100)]
Choose also emacsclient's alternate editor as $EDITOR itself

12 years agoChoose $EDITOR by checking which of the preferred browsers are installed
Axel Beckert [Sat, 27 Mar 2010 17:19:39 +0000 (18:19 +0100)]
Choose $EDITOR by checking which of the preferred browsers are installed

12 years agoChoose $BROWSER and $ABROWSER by checking which of the preferred browsers are installed
Axel Beckert [Sat, 27 Mar 2010 17:04:21 +0000 (18:04 +0100)]
Choose $BROWSER and $ABROWSER by checking which of the preferred browsers are installed

12 years agoSet $BROWSER dependent on $DISPLAY
Axel Beckert [Sat, 27 Mar 2010 16:12:29 +0000 (17:12 +0100)]
Set $BROWSER dependent on $DISPLAY

12 years agoAdd shortcut ~policy
Axel Beckert [Tue, 23 Feb 2010 00:57:45 +0000 (01:57 +0100)]
Add shortcut ~policy

12 years agoUse my @debian.org e-mail address from now on for packaging.
Axel Beckert [Sun, 31 Jan 2010 13:33:32 +0000 (14:33 +0100)]
Use my @debian.org e-mail address from now on for packaging.

12 years agoMake it work within the limits of the N900
Axel Beckert [Sat, 30 Jan 2010 20:19:21 +0000 (21:19 +0100)]
Make it work within the limits of the N900

12 years agoxd is a one liner function
Axel Beckert [Sat, 30 Jan 2010 13:15:39 +0000 (14:15 +0100)]
xd is a one liner function

12 years agoAdd xd support
Axel Beckert [Sat, 30 Jan 2010 11:40:25 +0000 (12:40 +0100)]
Add xd support

12 years agoAdd a colored prefix to display the distribution used
Axel Beckert [Sun, 10 Jan 2010 17:12:02 +0000 (18:12 +0100)]
Add a colored prefix to display the distribution used

12 years agoMake it actually work
Axel Beckert [Sat, 31 Oct 2009 15:52:07 +0000 (16:52 +0100)]
Make it actually work

12 years agoExclude loadrunner from battery display
Axel Beckert [Sat, 31 Oct 2009 15:50:36 +0000 (16:50 +0100)]
Exclude loadrunner from battery display

12 years agoBase battery display on acpi instead of domainname
Axel Beckert [Fri, 30 Oct 2009 22:42:02 +0000 (23:42 +0100)]
Base battery display on acpi instead of domainname

12 years agoCheck domainname only once and save result in $[NIS]DOMAINNAME
Axel Beckert [Fri, 30 Oct 2009 22:39:10 +0000 (23:39 +0100)]
Check domainname only once and save result in $[NIS]DOMAINNAME

12 years agoUse the same test for D-PHYS hosts everywhere
Axel Beckert [Fri, 30 Oct 2009 22:28:00 +0000 (23:28 +0100)]
Use the same test for D-PHYS hosts everywhere

12 years agoFirst check if domainname exists
Axel Beckert [Fri, 30 Oct 2009 22:25:27 +0000 (23:25 +0100)]
First check if domainname exists

12 years agoTwo 'autossh screen -RD' fight. Use -d instead -D.
Axel Beckert [Fri, 30 Oct 2009 22:20:42 +0000 (23:20 +0100)]
Two 'autossh screen -RD' fight. Use -d instead -D.

If two 'autossh screen -RD' try to connect to the same host, they
fight for getting the screen which often ends in something like
'screen -x'. Use '-d' instead of '-D' (i.e. no power detach) to not
cause fights.

12 years agoAdd ~isg/bin to path only on phys.ethz.ch boxes
Axel Beckert [Fri, 30 Oct 2009 22:19:20 +0000 (23:19 +0100)]
Add ~isg/bin to path only on phys.ethz.ch boxes

12 years agoFunktion asc braucht kein X-Forward
Axel Beckert [Thu, 15 Oct 2009 10:23:24 +0000 (12:23 +0200)]
Funktion asc braucht kein X-Forward

Im Gegenteil, koennte eher schaden.

13 years agoAdded missing quoting
Robotic Organism Optimized for Troubleshooting [Wed, 23 Sep 2009 17:06:31 +0000 (19:06 +0200)]
Added missing quoting

13 years agoAlias lsw doesn't seem to be defined always
Robotic Organism Optimized for Troubleshooting [Wed, 23 Sep 2009 16:48:28 +0000 (18:48 +0200)]
Alias lsw doesn't seem to be defined always

13 years agoOpenSSL Certificate Info functions
Axel Beckert [Mon, 21 Sep 2009 01:31:21 +0000 (03:31 +0200)]
OpenSSL Certificate Info functions

13 years ago[: s/-p/-o/
Axel Beckert [Mon, 14 Sep 2009 22:51:39 +0000 (00:51 +0200)]
[: s/-p/-o/

13 years agoNew IMAP server phd-imap, $HOST already available
Axel Beckert [Mon, 14 Sep 2009 12:08:09 +0000 (14:08 +0200)]
New IMAP server phd-imap, $HOST already available

13 years agoPrepend http() with function, otherwise python becomes an alias to telnet. %-)
Axel Beckert [Sat, 29 Aug 2009 10:56:44 +0000 (12:56 +0200)]
Prepend http() with function, otherwise python becomes an alias to telnet. %-)

13 years agoAdded $BROWSER to override grml default setting and $ABROWSER for wikipedia2text
Axel Beckert [Mon, 27 Jul 2009 23:17:43 +0000 (01:17 +0200)]
Added $BROWSER to override grml default setting and $ABROWSER for wikipedia2text

13 years agoAll kiva*ethz.ch machines should be treated as non-ethz machines
Axel Beckert [Sun, 19 Jul 2009 00:34:06 +0000 (02:34 +0200)]
All kiva*ethz.ch machines should be treated as non-ethz machines

13 years agoD-PHYS specific directory hashes
Axel Beckert [Mon, 6 Jul 2009 15:40:54 +0000 (17:40 +0200)]
D-PHYS specific directory hashes

13 years agoCDABLE_VARS cause quite a lot of delay on tab expansion, remove them again
Axel Beckert [Mon, 6 Jul 2009 12:46:32 +0000 (14:46 +0200)]
CDABLE_VARS cause quite a lot of delay on tab expansion, remove them again

13 years agoEDITOR=emacsclient (grml sets it to vim if unset *grrr*)
Axel Beckert [Mon, 6 Jul 2009 12:41:03 +0000 (14:41 +0200)]
EDITOR=emacsclient (grml sets it to vim if unset *grrr*)

13 years agonoglob all common text mode browsers
Axel Beckert [Mon, 22 Jun 2009 16:26:54 +0000 (18:26 +0200)]
noglob all common text mode browsers

13 years agofunction asc: autossh -t $host screen -RDU
Axel Beckert [Sun, 21 Jun 2009 22:10:21 +0000 (00:10 +0200)]
function asc: autossh -t $host screen -RDU

13 years agoSome noglob aliases
Axel Beckert [Sun, 21 Jun 2009 22:09:21 +0000 (00:09 +0200)]
Some noglob aliases

13 years agoUndo some grml things
Axel Beckert [Sun, 17 May 2009 21:05:41 +0000 (23:05 +0200)]
Undo some grml things