abe:zshrc.git
9 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Fri, 12 Apr 2013 01:22:26 +0000 (03:22 +0200)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

9 years agoUnalias ag if aliased
Axel Beckert [Fri, 12 Apr 2013 01:22:17 +0000 (03:22 +0200)]
Unalias ag if aliased

9 years agoI want my fortune!
Axel Beckert [Thu, 7 Mar 2013 14:20:39 +0000 (15:20 +0100)]
I want my fortune!

9 years agoSwitch grml-etc-core URL to GitHub, so GitHub links to it
Axel Beckert [Thu, 24 Jan 2013 01:10:13 +0000 (02:10 +0100)]
Switch grml-etc-core URL to GitHub, so GitHub links to it

9 years agoSome more Markdown markup in README.md
Axel Beckert [Thu, 24 Jan 2013 01:07:41 +0000 (02:07 +0100)]
Some more Markdown markup in README.md

Also change git URL to Github

9 years agoRename README to README.md and add some Markdown markup
Axel Beckert [Thu, 24 Jan 2013 01:04:05 +0000 (02:04 +0100)]
Rename README to README.md and add some Markdown markup

9 years agoSome more APT aliases
Axel Beckert [Thu, 24 Jan 2013 00:56:41 +0000 (01:56 +0100)]
Some more APT aliases

unalias au if existing; rename alias a-u to au

9 years agoAdd some emacsclient and zile aliases
Axel Beckert [Thu, 24 Jan 2013 00:55:13 +0000 (01:55 +0100)]
Add some emacsclient and zile aliases

9 years agoChange alias g from fgrep to git
Axel Beckert [Thu, 24 Jan 2013 00:53:57 +0000 (01:53 +0100)]
Change alias g from fgrep to git

Also change alias gr from grep to fgrep

9 years agoBump grml-etc-core and zsh-syntax-highlighting to current HEAD
Axel Beckert [Thu, 24 Jan 2013 00:32:19 +0000 (01:32 +0100)]
Bump grml-etc-core and zsh-syntax-highlighting to current HEAD

9 years agoAdd .mrconfig for all git submodules
Axel Beckert [Thu, 24 Jan 2013 00:27:04 +0000 (01:27 +0100)]
Add .mrconfig for all git submodules

9 years agoUse yellow instead of cyan for stash
Axel Beckert [Wed, 23 Jan 2013 00:47:26 +0000 (01:47 +0100)]
Use yellow instead of cyan for stash

9 years agoUse bold check mark and some spaces around for clean state
Axel Beckert [Mon, 21 Jan 2013 19:32:53 +0000 (20:32 +0100)]
Use bold check mark and some spaces around for clean state

9 years agoDisplay stash stuff behind clean mark
Axel Beckert [Mon, 21 Jan 2013 13:23:51 +0000 (14:23 +0100)]
Display stash stuff behind clean mark

9 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Mon, 21 Jan 2013 13:13:04 +0000 (14:13 +0100)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

9 years agoSwitch from olivierverdier/zsh-git-prompt to yonchu/zsh-vcs-prompt
Axel Beckert [Mon, 21 Jan 2013 13:10:40 +0000 (14:10 +0100)]
Switch from olivierverdier/zsh-git-prompt to yonchu/zsh-vcs-prompt

9 years agoMy own theming for zsh-git-prompt
Axel Beckert [Mon, 21 Jan 2013 12:20:00 +0000 (13:20 +0100)]
My own theming for zsh-git-prompt

9 years agoAdd zsh-git-prompt as submodule git-prompt
Axel Beckert [Mon, 21 Jan 2013 12:13:59 +0000 (13:13 +0100)]
Add zsh-git-prompt as submodule git-prompt

9 years agoAdd some more apt-cache abbreviations
Axel Beckert [Sun, 20 Jan 2013 21:35:14 +0000 (22:35 +0100)]
Add some more apt-cache abbreviations

9 years agoaptitude-* aliases: Also use ?reverse-recommends and ?reverse-suggests
Axel Beckert [Tue, 8 Jan 2013 14:33:21 +0000 (15:33 +0100)]
aptitude-* aliases: Also use ?reverse-recommends and ?reverse-suggests

Also ignore reverse dependencies from my own meta packages

9 years agoAdd ~byhost
Axel Beckert [Tue, 16 Oct 2012 16:21:11 +0000 (18:21 +0200)]
Add ~byhost

9 years agoDocument 10-prompt a little bit
Axel Beckert [Sun, 7 Oct 2012 13:30:17 +0000 (15:30 +0200)]
Document 10-prompt a little bit

9 years agoRecognize if current shell has been started via sudo
Axel Beckert [Sun, 7 Oct 2012 12:57:01 +0000 (14:57 +0200)]
Recognize if current shell has been started via sudo

9 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Sun, 7 Oct 2012 12:44:48 +0000 (14:44 +0200)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

9 years agoAdd aptitude filter alias aptitude-upgradable-to-experimental
Axel Beckert [Sun, 7 Oct 2012 12:44:41 +0000 (14:44 +0200)]
Add aptitude filter alias aptitude-upgradable-to-experimental

9 years agoOptimise asc() even more
Axel Beckert [Thu, 4 Oct 2012 23:29:41 +0000 (01:29 +0200)]
Optimise asc() even more

No more unnecessary error messages either.

9 years agoOptimise remote resource consumption of asc()
Axel Beckert [Thu, 4 Oct 2012 23:22:23 +0000 (01:22 +0200)]
Optimise remote resource consumption of asc()

9 years agozsh 4.3.10 from Squeeze needs some more magic to make it work
Axel Beckert [Tue, 21 Aug 2012 12:43:39 +0000 (14:43 +0200)]
zsh 4.3.10 from Squeeze needs some more magic to make it work

Thanks Frank Terbeck again! :-)

9 years agoHistory filtering on cursor-up with prefix on the commandline
Axel Beckert [Tue, 21 Aug 2012 11:59:04 +0000 (13:59 +0200)]
History filtering on cursor-up with prefix on the commandline

Thanks Frank Terbeck

9 years agoSome ack-grep aliases
Axel Beckert [Mon, 20 Aug 2012 09:50:58 +0000 (11:50 +0200)]
Some ack-grep aliases

9 years agoPrompt: also recognize splitvt
Axel Beckert [Fri, 10 Aug 2012 14:23:48 +0000 (16:23 +0200)]
Prompt: also recognize splitvt

9 years agoPrompt: also recognize byobu
Axel Beckert [Fri, 10 Aug 2012 14:17:23 +0000 (16:17 +0200)]
Prompt: also recognize byobu

9 years agoPrompt: Properly detect tmux, mosh and screen; not only ssh
Axel Beckert [Fri, 10 Aug 2012 12:00:49 +0000 (14:00 +0200)]
Prompt: Properly detect tmux, mosh and screen; not only ssh

9 years agoNo more need to unalias http -- fixed in grml-etc-core
Axel Beckert [Fri, 10 Aug 2012 12:00:08 +0000 (14:00 +0200)]
No more need to unalias http -- fixed in grml-etc-core

9 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Fri, 10 Aug 2012 11:37:08 +0000 (13:37 +0200)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

9 years agoBump submodules
Axel Beckert [Fri, 10 Aug 2012 11:36:50 +0000 (13:36 +0200)]
Bump submodules

9 years agoConfigure syntax highlighting colors
Axel Beckert [Fri, 10 Aug 2012 11:35:31 +0000 (13:35 +0200)]
Configure syntax highlighting colors

Dark blue on black is insane, replace with cyan.

Enable bracket matching highlighting and use green for all matched
brackets.

9 years agoRevert one [ to [[ conversion which didn't work out of the box
Axel Beckert [Fri, 3 Aug 2012 22:06:55 +0000 (00:06 +0200)]
Revert one [ to [[ conversion which didn't work out of the box

9 years agoNo more make a distinction between hosts for the imageviewer and use sxiv everywhere
Axel Beckert [Wed, 1 Aug 2012 19:44:53 +0000 (21:44 +0200)]
No more make a distinction between hosts for the imageviewer and use sxiv everywhere

9 years agoFix missing trailing newline
Axel Beckert [Wed, 1 Aug 2012 19:43:44 +0000 (21:43 +0200)]
Fix missing trailing newline

9 years agoConsistently use [[ ... ]] instead of [ ... ] for testing
Axel Beckert [Wed, 1 Aug 2012 19:43:27 +0000 (21:43 +0200)]
Consistently use [[ ... ]] instead of [ ... ] for testing

9 years agoCleaner and less forking implementation of zsh.d
Axel Beckert [Wed, 1 Aug 2012 19:09:10 +0000 (21:09 +0200)]
Cleaner and less forking implementation of zsh.d

10 years agoSupport config directories for Ubuntu 12.04 and 12.10
Axel Beckert [Tue, 24 Apr 2012 16:25:17 +0000 (18:25 +0200)]
Support config directories for Ubuntu 12.04 and 12.10

10 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Sat, 7 Apr 2012 00:42:26 +0000 (02:42 +0200)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

10 years agoRemove rationalise-dot() again in favour of aliases and global aliases
Axel Beckert [Sat, 7 Apr 2012 00:42:16 +0000 (02:42 +0200)]
Remove rationalise-dot() again in favour of aliases and global aliases

rationalise-dot() proved to cause to many false positives, especially inside quoted strings

10 years agoFix prompt when not being logged in via SSH
Axel Beckert [Thu, 5 Apr 2012 15:31:34 +0000 (17:31 +0200)]
Fix prompt when not being logged in via SSH

10 years agoUse cyan instead of yellow for the ssh flag in the prompt
Axel Beckert [Wed, 4 Apr 2012 14:43:32 +0000 (16:43 +0200)]
Use cyan instead of yellow for the ssh flag in the prompt

10 years agoDon't highlight hostname on SSH but add a colored keyword to the prompt
Axel Beckert [Mon, 2 Apr 2012 11:32:46 +0000 (13:32 +0200)]
Don't highlight hostname on SSH but add a colored keyword to the prompt

10 years agoYellow hostname if logged in on remote host
Axel Beckert [Thu, 29 Mar 2012 15:56:30 +0000 (17:56 +0200)]
Yellow hostname if logged in on remote host

10 years agoFix typo. Thanks Rhonda!
Axel Beckert [Wed, 21 Mar 2012 14:17:13 +0000 (15:17 +0100)]
Fix typo. Thanks Rhonda!

10 years agoBump zsh-syntax-highlighting
Axel Beckert [Sun, 11 Mar 2012 21:39:07 +0000 (22:39 +0100)]
Bump zsh-syntax-highlighting

10 years agoRemove all http aliases and functions
Axel Beckert [Sun, 11 Mar 2012 19:37:13 +0000 (20:37 +0100)]
Remove all http aliases and functions

The package httpie now provides an http command

10 years agoCreate a function md which creates a directory and changes to it
Axel Beckert [Sun, 11 Mar 2012 19:34:05 +0000 (20:34 +0100)]
Create a function md which creates a directory and changes to it

As grml removed the md alias (for "mkdir -p") and renamed the function
mcd (which did the same as this function) to a longer mkcd, I take the
chance to make it the way I always wanted it.

Just to be sure I still check if an md alias exists (which would
overrule the function) and remove it in that case.

10 years agoBump grml-etc-core
Axel Beckert [Sun, 11 Mar 2012 19:29:45 +0000 (20:29 +0100)]
Bump grml-etc-core

10 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Sun, 19 Feb 2012 13:15:50 +0000 (14:15 +0100)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

10 years agoAlways use European week beginning independent of timezone or locales
Axel Beckert [Sun, 19 Feb 2012 13:15:44 +0000 (14:15 +0100)]
Always use European week beginning independent of timezone or locales

10 years agoNew alias btsmutt
Axel Beckert [Sun, 19 Feb 2012 13:15:06 +0000 (14:15 +0100)]
New alias btsmutt

10 years agoAdd a function named xlock which just does the right thing™
Axel Beckert [Sun, 8 Jan 2012 03:08:04 +0000 (04:08 +0100)]
Add a function named xlock which just does the right thing™

10 years agoPrevent coredumps
Axel Beckert [Tue, 15 Nov 2011 11:16:24 +0000 (12:16 +0100)]
Prevent coredumps

10 years agoAdd warning about personal preferences to the README. :-)
Axel Beckert [Sat, 5 Nov 2011 16:33:44 +0000 (17:33 +0100)]
Add warning about personal preferences to the README. :-)

10 years agoUse zsh-syntax-highlighting just on zsh 4.3.9 or higher (i.e. not Debian Lenny)
Axel Beckert [Sun, 30 Oct 2011 09:56:08 +0000 (10:56 +0100)]
Use zsh-syntax-highlighting just on zsh 4.3.9 or higher (i.e. not Debian Lenny)

10 years agoMerge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh
Axel Beckert [Mon, 8 Aug 2011 13:42:34 +0000 (15:42 +0200)]
Merge branch 'master' of ssh://sym.noone.org/home/abe/git/zsh

10 years agoAdd aptitude-review-unmarkauto-libraries alias
Axel Beckert [Mon, 8 Aug 2011 13:42:24 +0000 (15:42 +0200)]
Add aptitude-review-unmarkauto-libraries alias

10 years agoAutoload and use url-quote-magic
Axel Beckert [Sat, 30 Jul 2011 14:26:21 +0000 (16:26 +0200)]
Autoload and use url-quote-magic

10 years agoSave and restore directory based on work from Chris Lamb
Axel Beckert [Sat, 30 Jul 2011 14:25:42 +0000 (16:25 +0200)]
Save and restore directory based on work from Chris Lamb

See http://chris-lamb.co.uk/2011/07/30/optimising-directory-navigation-multiple-terminals/

10 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