]>
ruderich.org/simon Gitweb - config/dotfiles.git/log
Simon Ruderich [Wed, 25 Mar 2009 13:25:40 +0000 (14:25 +0100)]
zsh: Also add ! to command name when running zsh as root.
Simon Ruderich [Tue, 24 Mar 2009 22:34:50 +0000 (23:34 +0100)]
Simon Ruderich [Sun, 22 Mar 2009 17:43:50 +0000 (18:43 +0100)]
zsh: Display @ in window name when running ssh.
The @ is added at the beginning like ! for sudo commands.
This makes it easy to spot if a window is on the current computer or connected
to another.
Simon Ruderich [Sun, 22 Mar 2009 17:40:50 +0000 (18:40 +0100)]
zsh: Expand aliases in window names correctly with sudo.
This failed before because the ! caused the following tests to not match.
Simon Ruderich [Fri, 20 Mar 2009 19:59:44 +0000 (20:59 +0100)]
screenrc: Add ^B binding which runs urlview.
Very useful to follow links.
Simon Ruderich [Sun, 15 Mar 2009 13:31:35 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Fri, 13 Mar 2009 18:00:42 +0000 (19:00 +0100)]
zsh: Fix display of running program on linux console.
This fix is additional to
4a38bc3a4780c7450a64e236344a3205506c7d46.
Simon Ruderich [Fri, 13 Mar 2009 17:56:10 +0000 (18:56 +0100)]
zsh: Fix infinite loop with screen on linux console.
This was caused because screen uses 'screen.linux' instead of 'screen' as
$TERM on a linux console which wasn't checked correctly.
Simon Ruderich [Thu, 12 Mar 2009 21:42:51 +0000 (22:42 +0100)]
bash: Abort if the shell is not interactive.
Prevents problems with scp and rcp.
Simon Ruderich [Thu, 12 Mar 2009 21:34:56 +0000 (22:34 +0100)]
zsh: Fix for 4.3.4 so add-zsh-hook works.
It seems it's broken on at least this version. So the compatibility function
in ~/.zsh/function/compatibility is used on this version too.
As the function add-zsh-hook already exists, fpath was updated to load the
compatibility functions first.
Simon Ruderich [Tue, 10 Mar 2009 17:13:04 +0000 (18:13 +0100)]
zsh: Try to fix mistakes when completing.
Simon Ruderich [Tue, 10 Mar 2009 16:38:34 +0000 (17:38 +0100)]
zsh: Display multiple matches in different groups.
See source code for more information.
Simon Ruderich [Tue, 10 Mar 2009 16:35:24 +0000 (17:35 +0100)]
zsh: Reorder completion settings.
No functional changes.
Simon Ruderich [Tue, 10 Mar 2009 16:20:58 +0000 (17:20 +0100)]
zsh: Colorize stderr.
Doesn't work all the time but it's very useful.
Simon Ruderich [Tue, 10 Mar 2009 16:07:26 +0000 (17:07 +0100)]
zsh: Set window title to current program in stumpwm.
Simon Ruderich [Tue, 10 Mar 2009 15:48:27 +0000 (16:48 +0100)]
zsh: Automatically start screen.
This prevents problems when X11 crashes or the network connection is lost on
remote servers.
Simon Ruderich [Sat, 28 Feb 2009 16:53:39 +0000 (17:53 +0100)]
Merge commit 'simpleplan/master'
Simon Ruderich [Sat, 28 Feb 2009 17:22:29 +0000 (11:22 -0600)]
screen: Display hostname in the hardstatus line.
Simon Ruderich [Sat, 28 Feb 2009 16:27:43 +0000 (17:27 +0100)]
zsh: Prevent :q exists the shell.
This happens if I confuse the shell with Vim.
Simon Ruderich [Thu, 26 Feb 2009 18:28:57 +0000 (12:28 -0600)]
Use default escape key for screen.
It wasn't a good idea to use ? for that, C-a is much better.
Simon Ruderich [Thu, 26 Feb 2009 18:26:17 +0000 (12:26 -0600)]
Expand aliases when using sudo.
Simon Ruderich [Thu, 26 Feb 2009 17:19:58 +0000 (18:19 +0100)]
Move code to change window title to own function.
This prevents code duplication.
Simon Ruderich [Tue, 24 Feb 2009 22:37:15 +0000 (23:37 +0100)]
Minor documentation fix.
Use proper line length.
Simon Ruderich [Mon, 23 Feb 2009 17:15:04 +0000 (11:15 -0600)]
Use running program name for xterm's window name.
In the past it was only used with screen.
Simon Ruderich [Sun, 22 Feb 2009 15:59:48 +0000 (09:59 -0600)]
Add Vim modeline.
Simon Ruderich [Sun, 22 Feb 2009 15:59:32 +0000 (09:59 -0600)]
Merge commit 'rammstein/master'
Simon Ruderich [Sun, 22 Feb 2009 14:27:55 +0000 (15:27 +0100)]
Fallback to clear if clear_console is not found in logout.
Simon Ruderich [Sun, 22 Feb 2009 02:39:21 +0000 (03:39 +0100)]
Use one logout file which is included by bash and zsh.
Add missing bash logout file to setup.sh and add Vim modeline.
Simon Ruderich [Sun, 22 Feb 2009 02:29:56 +0000 (03:29 +0100)]
source_config() can load normal configuration files.
No extension (like hostname; $4) have to be used. See source code for more
information.
Update tests and add Vim modeline.
Simon Ruderich [Sun, 22 Feb 2009 00:02:19 +0000 (18:02 -0600)]
Be more compatible in shell/env.
Simon Ruderich [Sat, 21 Feb 2009 20:05:44 +0000 (21:05 +0100)]
Don't use local in source_config().
Simon Ruderich [Sat, 21 Feb 2009 19:52:59 +0000 (20:52 +0100)]
Test if variables are leaked in source_config().
Simon Ruderich [Fri, 20 Feb 2009 20:46:36 +0000 (21:46 +0100)]
Forgot to replace one source in tests/.
Simon Ruderich [Fri, 20 Feb 2009 20:04:25 +0000 (21:04 +0100)]
Use . instead of source to load config files.
This prevents a possible security problem with source, as it also searches the
current directory.
Simon Ruderich [Fri, 20 Feb 2009 17:37:35 +0000 (18:37 +0100)]
Only load ~/.bashrc if it's available.
Also add Vim modeline.
Simon Ruderich [Wed, 18 Feb 2009 17:37:15 +0000 (18:37 +0100)]
Use setup.sh instead of Makefile for setup process.
It is much easier to extend in the future.
Simon Ruderich [Mon, 16 Feb 2009 18:37:34 +0000 (19:37 +0100)]
Add setup support.
The Makefile contains a setup target which generates files and creates all
necessary symbolic links in ~/.
Simon Ruderich [Mon, 16 Feb 2009 18:34:10 +0000 (19:34 +0100)]
Merge commit 'rammstein/master'
Simon Ruderich [Mon, 16 Feb 2009 18:32:36 +0000 (19:32 +0100)]
Add zsh logout configuration file.
Simon Ruderich [Mon, 16 Feb 2009 18:27:57 +0000 (19:27 +0100)]
Add bash login and logout configuration files.
Simon Ruderich [Mon, 16 Feb 2009 16:42:08 +0000 (17:42 +0100)]
Don't use *.local files, use hostname instead.
This allows the use of the configuration files on every system without
changes.
Simon Ruderich [Mon, 16 Feb 2009 16:11:04 +0000 (17:11 +0100)]
Improve source_config() debug output.
Adding "->" makes results (sourcing, neither exists) stand out clearly in the
text and so easy visible.
Simon Ruderich [Mon, 16 Feb 2009 15:36:02 +0000 (16:36 +0100)]
Convert from Mercurial to Git.
Also rename .hgignore to .gitignore and adapt it.
Simon Ruderich [Sun, 15 Feb 2009 14:36:34 +0000 (15:36 +0100)]
Add alias for df to use -h.
Simon Ruderich [Sun, 15 Feb 2009 14:35:45 +0000 (15:35 +0100)]
Display a ! in screen's window name for sudo programs.
Simon Ruderich [Sun, 15 Feb 2009 14:35:29 +0000 (15:35 +0100)]
Don't dump cores in zsh.
They just take up space and take some time. If necessary they can be
activated manually.
Simon Ruderich [Sun, 8 Feb 2009 15:49:57 +0000 (16:49 +0100)]
Simulate hooks using _functions arrays for older versions.
This allows the usage of add-zsh-hook also for older version.
add-zsh-hook is provided in functions/compatibility and was taken from Zsh
4.3.9.
Simon Ruderich [Sun, 8 Feb 2009 15:49:47 +0000 (16:49 +0100)]
Don't try to autoload directories in ~/.zsh/functions.
Simon Ruderich [Sun, 8 Feb 2009 15:49:35 +0000 (16:49 +0100)]
Move autoload of add-zsh-hook to "function settings".
It fits there better.
Simon Ruderich [Sun, 8 Feb 2009 15:48:58 +0000 (16:48 +0100)]
Add more debug output.
Useful when debugging which file gets loaded.
Simon Ruderich [Sun, 8 Feb 2009 15:47:29 +0000 (16:47 +0100)]
New function source_debug().
Prints given arguments if $DEBUG is non empty. At the moment only used by
source_config().
Simon Ruderich [Sun, 8 Feb 2009 15:46:48 +0000 (16:46 +0100)]
Autoload custom functions at start of zsh/rc.
Moved to new section "Function settings" at the beginning of rc.
Simon Ruderich [Sat, 7 Feb 2009 14:01:35 +0000 (15:01 +0100)]
Minor documentation update.
Simon Ruderich [Fri, 6 Feb 2009 16:22:34 +0000 (17:22 +0100)]
Use completion dumpfile in ~/.zsh/cache.
This reduces cluttering of ~/ with Zsh files.
Simon Ruderich [Fri, 6 Feb 2009 16:20:35 +0000 (17:20 +0100)]
Load zsh/complist before compinit.
This allows menu-select to work as mentioned in zshcompsys(1).
Simon Ruderich [Fri, 6 Feb 2009 16:16:19 +0000 (17:16 +0100)]
Autoload functions in ~/.zsh/functions.
Also add extract script to ~/.zsh/functions which extracts many different
archive formats. Thanks to Eric P. Mangold for this great script.
Simon Ruderich [Fri, 6 Feb 2009 16:07:32 +0000 (17:07 +0100)]
Increase zsh history size to 5000 entries.
Simon Ruderich [Fri, 6 Feb 2009 16:07:08 +0000 (17:07 +0100)]
Don't use visual bell in screen.
Simon Ruderich [Fri, 6 Feb 2009 16:06:00 +0000 (17:06 +0100)]
Use program name as screen window title when sudo is used.
Simon Ruderich [Fri, 6 Feb 2009 16:05:38 +0000 (17:05 +0100)]
Only use vim -p when it's available.
-p is available since Vim 7.
Simon Ruderich [Fri, 6 Feb 2009 16:05:12 +0000 (17:05 +0100)]
Fix whitespace problem introduced in last commit.
Simon Ruderich [Thu, 5 Feb 2009 13:37:19 +0000 (14:37 +0100)]
Only use VCS_Info when it's available.
It was added in Zsh 4.3.9.
Simon Ruderich [Tue, 27 Jan 2009 17:20:21 +0000 (18:20 +0100)]
Don't display TODOs periodically.
This was just annoying and didn't make me complete them sooner.
Simon Ruderich [Tue, 27 Jan 2009 17:01:27 +0000 (18:01 +0100)]
Display expanded shortcut names in screen.
Simon Ruderich [Tue, 27 Jan 2009 16:58:20 +0000 (17:58 +0100)]
Add global shortcut to cd up four directories.
Simon Ruderich [Tue, 27 Jan 2009 16:58:17 +0000 (17:58 +0100)]
Add more shortcuts for often used applications.
Simon Ruderich [Tue, 27 Jan 2009 16:07:15 +0000 (17:07 +0100)]
New alias wnc which fetches the current clipboard.
Provided for darwin (Mac OS X).
Simon Ruderich [Tue, 27 Jan 2009 16:06:22 +0000 (17:06 +0100)]
Increase screen's scrollback buffer.
Very useful when building applications to read the output. 5000 lines was not
enough for me.
Simon Ruderich [Tue, 27 Jan 2009 16:05:31 +0000 (17:05 +0100)]
Add generate target to Makefile.
Used to generate all files which are just provides as template, for example
lesskey.
Simon Ruderich [Tue, 27 Jan 2009 15:56:21 +0000 (16:56 +0100)]
Display unambiguous matches with one tab in readline.
This is a bit different from show-all-if-ambiguous because
show-all-if-unmodified is used when the strings to complete don't have a
common prefix.
Simon Ruderich [Mon, 19 Jan 2009 19:25:21 +0000 (20:25 +0100)]
Use a local variable in screen_preexec().
Simon Ruderich [Mon, 19 Jan 2009 09:43:27 +0000 (10:43 +0100)]
When using screen use current command as window name.
This makes finding the correct screen window much easier.
Doesn't work with ^Z and fg yet; fg is then displayed as command instead the
real running command.
Simon Ruderich [Mon, 12 Jan 2009 16:59:06 +0000 (17:59 +0100)]
Improved documentation for source_config().
Simon Ruderich [Mon, 12 Jan 2009 16:56:46 +0000 (17:56 +0100)]
Also ignore files on current line when using Git.
This makes completing files faster and easier when using a VCS.
Simon Ruderich [Mon, 12 Jan 2009 16:56:42 +0000 (17:56 +0100)]
Display current VCS in right prompt.
Used with Git and Mercurial. When in one of these repositories the current
branch and version control system is displayed in the right prompt.
Simon Ruderich [Thu, 1 Jan 2009 20:38:54 +0000 (21:38 +0100)]
Added section names to zshrc.
Also moved some things around, no functional changes.
Simon Ruderich [Thu, 1 Jan 2009 20:38:36 +0000 (21:38 +0100)]
Moved loading of add-zsh-hook up.
So it can be used everywhere.
Simon Ruderich [Mon, 24 Nov 2008 19:15:29 +0000 (20:15 +0100)]
Also export LANG, has same values as LC_ALL.
Simon Ruderich [Mon, 24 Nov 2008 19:15:03 +0000 (20:15 +0100)]
Display todo list every hour.
Simon Ruderich [Mon, 24 Nov 2008 19:11:23 +0000 (20:11 +0100)]
Make sure core dumps are saved.
Simon Ruderich [Mon, 24 Nov 2008 19:05:14 +0000 (20:05 +0100)]
Minor documentation fixes.
Simon Ruderich [Sun, 23 Nov 2008 23:55:31 +0000 (00:55 +0100)]
Use add-zsh-hook for hook functions.
This makes adding more hooks simpler.
Simon Ruderich [Sun, 23 Nov 2008 23:27:51 +0000 (00:27 +0100)]
Improved zsh's completion.
Simon Ruderich [Tue, 28 Oct 2008 16:12:21 +0000 (17:12 +0100)]
Added useful aliases for zsh.
Simon Ruderich [Tue, 28 Oct 2008 16:12:10 +0000 (17:12 +0100)]
Added Vim aliases for zsh.
Simon Ruderich [Tue, 28 Oct 2008 13:33:06 +0000 (14:33 +0100)]
Added OS specific file for Darwin computers (Mac OS X).
Store current clipboard in $CLIPBOARD for easy access.
Simon Ruderich [Tue, 28 Oct 2008 13:30:41 +0000 (14:30 +0100)]
Added colorized prompt for bash.
Simon Ruderich [Tue, 28 Oct 2008 13:30:06 +0000 (14:30 +0100)]
Added more color options for ls.
Simon Ruderich [Sat, 4 Oct 2008 16:00:27 +0000 (18:00 +0200)]
Moved host specific configuration files to own directory.
This makes sure the directory isn't cluttered when OS specific files are added
in the future.
Simon Ruderich [Fri, 3 Oct 2008 17:14:40 +0000 (19:14 +0200)]
Minor documentation fixes.
Simon Ruderich [Fri, 3 Oct 2008 16:33:26 +0000 (18:33 +0200)]
Use colorized output with normal ls when GNU ls is not available.
Simon Ruderich [Fri, 3 Oct 2008 16:32:37 +0000 (18:32 +0200)]
Display the job count in zsh's prompt.
Simon Ruderich [Thu, 2 Oct 2008 12:23:05 +0000 (14:23 +0200)]
Added env settings for all shells on my local computer.
Simon Ruderich [Thu, 2 Oct 2008 12:22:06 +0000 (14:22 +0200)]
Added prompt for bash.
Simon Ruderich [Thu, 2 Oct 2008 12:19:29 +0000 (14:19 +0200)]
Simplified loading of config files by using a function.
source_config() first tries to load the given file and then if unsuccessful
the .local file for that file.
For more information look at the comments of source_config().
Also added tests for source_config() and Makefile to run them.
Simon Ruderich [Wed, 1 Oct 2008 13:20:51 +0000 (15:20 +0200)]
Check for new mails every ten seconds.
Simon Ruderich [Wed, 1 Oct 2008 13:17:13 +0000 (15:17 +0200)]
Automatically use a screen session or start a new one when using zsh locally.
Simon Ruderich [Sun, 21 Sep 2008 17:11:40 +0000 (19:11 +0200)]
Zsh doesn't quit when <C-d> is pressed.
Simon Ruderich [Sun, 21 Sep 2008 16:57:21 +0000 (18:57 +0200)]
Check for new mails.
Simon Ruderich [Sun, 21 Sep 2008 16:52:12 +0000 (18:52 +0200)]
Update umask settings in zsh.