abe:zshrc.git
13 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.

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

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

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

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

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

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

13 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

13 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

13 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.

13 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

13 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.

13 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

13 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

13 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

13 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

13 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

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

13 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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

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

13 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

13 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

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

13 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

13 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.

13 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

13 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

13 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

13 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

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

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

13 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.

13 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

13 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

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

13 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

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

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

14 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

14 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

14 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

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

14 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.

14 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

14 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.

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

14 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

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

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

14 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

14 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. %-)

14 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

14 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

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

14 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

14 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*)

14 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

14 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

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

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

14 years agoSome alias and function fixes as well as reordering
Axel Beckert [Fri, 15 May 2009 19:28:20 +0000 (21:28 +0200)]
Some alias and function fixes as well as reordering

14 years agoFix recursive function xv()
Axel Beckert [Fri, 15 May 2009 19:26:40 +0000 (21:26 +0200)]
Fix recursive function xv()

14 years agoSource my mutt config if it exists
Axel Beckert [Fri, 15 May 2009 16:35:18 +0000 (18:35 +0200)]
Source my mutt config if it exists

14 years agozcompile/zwc support
Axel Beckert [Fri, 8 May 2009 22:28:21 +0000 (00:28 +0200)]
zcompile/zwc support

14 years agoMove DIRSTACKFILE to zshenv, too
Axel Beckert [Fri, 8 May 2009 21:48:03 +0000 (23:48 +0200)]
Move DIRSTACKFILE to zshenv, too

14 years agoSetting ZDOTDIR in .zshenv
Axel Beckert [Fri, 8 May 2009 21:42:08 +0000 (23:42 +0200)]
Setting ZDOTDIR in .zshenv

14 years agonoglob aliases
Axel Beckert [Fri, 8 May 2009 00:01:06 +0000 (02:01 +0200)]
noglob aliases

14 years agoFurther options
Axel Beckert [Fri, 8 May 2009 00:00:29 +0000 (02:00 +0200)]
Further options

14 years agoHashes. Not so much for now since all other I need are in grml's zshrc already
Axel Beckert [Thu, 7 May 2009 23:43:12 +0000 (01:43 +0200)]
Hashes. Not so much for now since all other I need are in grml's zshrc already

14 years agoMore aliases and more alias sorting
Axel Beckert [Thu, 7 May 2009 23:42:10 +0000 (01:42 +0200)]
More aliases and more alias sorting

14 years agoSupport more zsh files in ~/.zsh/
Axel Beckert [Thu, 7 May 2009 23:06:53 +0000 (01:06 +0200)]
Support more zsh files in ~/.zsh/

14 years agoFirst aliases overhaul
Axel Beckert [Thu, 7 May 2009 18:51:51 +0000 (20:51 +0200)]
First aliases overhaul

14 years agoAdd some options found in the introduction of the zsh book of Guckes & Plenz
Axel Beckert [Wed, 6 May 2009 16:28:27 +0000 (18:28 +0200)]
Add some options found in the introduction of the zsh book of Guckes & Plenz

14 years agoOverwrite binding to magic-space
Axel Beckert [Tue, 28 Apr 2009 10:50:11 +0000 (12:50 +0200)]
Overwrite binding to magic-space

Overwrite binding to magic-space since it breaks history expansion
with spaces, e.g. !!:gs/GET/lynx<space>-dump/

14 years agoRemove conkeror alias from stone-age (as grml will do upstream)
Axel Beckert [Fri, 24 Apr 2009 23:15:49 +0000 (01:15 +0200)]
Remove conkeror alias from stone-age (as grml will do upstream)

14 years agoRed prompt for root
Robotic Organism Optimized for Troubleshooting [Tue, 21 Apr 2009 20:51:33 +0000 (22:51 +0200)]
Red prompt for root

only seems to work that way and not via ${RED} etc. No idea why, but
it works for now.

14 years agoArgh, which doesn't give the empty string on no result!
Axel Beckert [Tue, 21 Apr 2009 19:59:03 +0000 (21:59 +0200)]
Argh, which doesn't give the empty string on no result!

14 years ago-n doesn't seem to work here...
Axel Beckert [Tue, 21 Apr 2009 19:56:14 +0000 (21:56 +0200)]
-n doesn't seem to work here...

14 years agoBATTERY check: Replace '] && [' by an if cascade. *grml*
Axel Beckert [Tue, 21 Apr 2009 14:41:44 +0000 (16:41 +0200)]
BATTERY check: Replace '] && [' by an if cascade. *grml*

14 years agoBATTERY check: Replace '-a' by '] && ['
Axel Beckert [Tue, 21 Apr 2009 14:39:34 +0000 (16:39 +0200)]
BATTERY check: Replace '-a' by '] && ['

14 years agoDisable BATTERY display on hosts inside the phys.ethz.ch NIS domain
Axel Beckert [Tue, 21 Apr 2009 12:16:11 +0000 (14:16 +0200)]
Disable BATTERY display on hosts inside the phys.ethz.ch NIS domain

14 years agoremove zsh version number from prompt for now, it's the least important item
Axel Beckert [Tue, 21 Apr 2009 12:15:28 +0000 (14:15 +0200)]
remove zsh version number from prompt for now, it's the least important item

14 years agoalias fehxv instead of tcsh-like xv alias
Axel Beckert [Tue, 21 Apr 2009 00:06:59 +0000 (02:06 +0200)]
alias fehxv instead of tcsh-like xv alias

14 years ago.zsh/history instead of .zsh_history
Axel Beckert [Tue, 21 Apr 2009 00:06:29 +0000 (02:06 +0200)]
.zsh/history instead of .zsh_history

14 years agokeephack from grml
Axel Beckert [Mon, 20 Apr 2009 15:44:47 +0000 (17:44 +0200)]
keephack from grml

14 years agoreplace /etc/zsh/*.d with /home/abe/.zsh/*.d in grml's zshrc
Axel Beckert [Mon, 20 Apr 2009 15:44:24 +0000 (17:44 +0200)]
replace /etc/zsh/*.d with /home/abe/.zsh/*.d in grml's zshrc

14 years agocompdef autossh=ssh
Axel Beckert [Mon, 20 Apr 2009 15:10:21 +0000 (17:10 +0200)]
compdef autossh=ssh