]> git.alrj.org Git - zsh.d.git/log
zsh.d.git
13 years agoFix konsole tab name on command execution.
Amand Tihon [Sat, 14 May 2011 10:18:14 +0000 (12:18 +0200)]
Fix konsole tab name on command execution.

Remove an unwanted trailing > after current command in konsole's tab.

13 years agoDon't show the last git repo as pwd.
Amand Tihon [Mon, 9 May 2011 07:51:06 +0000 (09:51 +0200)]
Don't show the last git repo as pwd.

Git basedir must be cleared, or it will "stick" when the repository is exited.
The prompt would then contain the wrong pwd.

13 years agoComment update
Amand Tihon [Fri, 6 May 2011 09:39:29 +0000 (11:39 +0200)]
Comment update

13 years agoUse zsh truncation functions for tabs labels
Amand Tihon [Fri, 6 May 2011 09:39:06 +0000 (11:39 +0200)]
Use zsh truncation functions for tabs labels

13 years agoRework the prompt config.
Amand Tihon [Wed, 4 May 2011 09:26:51 +0000 (11:26 +0200)]
Rework the prompt config.

 * Move colors definitions in its own file.
 * Use prompt_subst for the path part, including git status when applicable.
 * Rework the battery status part of the prompt.
 * Rework the exit status.
 * Show the exit status only once, clear on empty line.
 * Rework git status, now clean of psvar
 * Now free of psvar.

13 years agoSlight change to git prompt
Amand Tihon [Mon, 2 May 2011 09:55:58 +0000 (11:55 +0200)]
Slight change to git prompt

13 years agozsh options: enable prompt_cr
Amand Tihon [Mon, 11 Apr 2011 09:22:31 +0000 (11:22 +0200)]
zsh options: enable prompt_cr

13 years agoGit prompt: recognize message from new versions
Amand Tihon [Wed, 23 Mar 2011 10:35:33 +0000 (11:35 +0100)]
Git prompt: recognize message from new versions

13 years agoGit prompt: Fix missing subdirectory
Amand Tihon [Mon, 24 Jan 2011 09:36:04 +0000 (10:36 +0100)]
Git prompt: Fix missing subdirectory

When under .git, the prompt now shows the correct path to current
directory.

14 years agoDon't refresh repository when searching with zypper.
Amand Tihon [Fri, 3 Sep 2010 07:02:32 +0000 (09:02 +0200)]
Don't refresh repository when searching with zypper.

14 years agoCorrect Konsole tab renaming
Amand Tihon [Sat, 1 May 2010 13:39:51 +0000 (15:39 +0200)]
Correct Konsole tab renaming

Terminals from other applications like Konqueror or Dolphin were
incorrectly changing Konsole sessions tabs titles instead of their
own (hidden) one.

14 years agoHide potential errors from calls to acpi
Amand Tihon [Sat, 10 Apr 2010 09:53:02 +0000 (11:53 +0200)]
Hide potential errors from calls to acpi

14 years agoHide qdbus errors
Amand Tihon [Mon, 5 Apr 2010 16:36:51 +0000 (18:36 +0200)]
Hide qdbus errors

14 years agoTabs renaming for konsole/kde4
Amand Tihon [Sat, 27 Mar 2010 09:03:03 +0000 (10:03 +0100)]
Tabs renaming for konsole/kde4

14 years agoRemove -B option chan calling acpi, as it's not always supported.
Amand Tihon [Fri, 19 Feb 2010 10:47:22 +0000 (11:47 +0100)]
Remove -B option chan calling acpi, as it's not always supported.

14 years agoAdd battery level in right prompt.
Amand Tihon [Fri, 19 Feb 2010 09:42:00 +0000 (10:42 +0100)]
Add battery level in right prompt.

Adding the battery level forced to
- move git-related psvar element.
- set colors earlier in the process

14 years agoAdd 'psg' alias for 'ps aux | grep'
Amand Tihon [Wed, 17 Feb 2010 17:56:41 +0000 (18:56 +0100)]
Add 'psg' alias for 'ps aux | grep'

14 years agoUpdate git part of prompt.
Amand Tihon [Wed, 17 Feb 2010 15:07:27 +0000 (16:07 +0100)]
Update git part of prompt.

* Only recalculate git variables if needed.
* Add symbols about repository status (clean, new, staged).
* Some refactoring.

15 years agoUse emacs bindings
Amand Tihon [Thu, 30 Jul 2009 06:28:18 +0000 (08:28 +0200)]
Use emacs bindings

15 years agoAdd host completion support for cc_sync.
Amand Tihon [Wed, 24 Jun 2009 07:34:52 +0000 (09:34 +0200)]
Add host completion support for cc_sync.

15 years agoPrint numeric exitcode if it's greater than 127 + len(signals)
Amand Tihon [Mon, 15 Jun 2009 12:52:33 +0000 (14:52 +0200)]
Print numeric exitcode if it's greater than 127 + len(signals)

15 years agoAdd example zshrc file.
Amand Tihon [Wed, 10 Jun 2009 12:48:57 +0000 (14:48 +0200)]
Add example zshrc file.

15 years agoEnsure that psvar is empty for all the precmd.
Amand Tihon [Wed, 10 Jun 2009 09:49:45 +0000 (11:49 +0200)]
Ensure that psvar is empty for all the precmd.

15 years agoShow exit code as signal name, if terminated by a signal.
Amand Tihon [Tue, 9 Jun 2009 16:09:43 +0000 (18:09 +0200)]
Show exit code as signal name, if terminated by a signal.

15 years agoSlightly longer path displayed before the git branch in prompt
Amand Tihon [Mon, 8 Jun 2009 15:59:45 +0000 (17:59 +0200)]
Slightly longer path displayed before the git branch in prompt

15 years agoAdd shebang.
Amand Tihon [Mon, 8 Jun 2009 15:59:13 +0000 (17:59 +0200)]
Add shebang.

15 years agoDon't show the time in the prompt.
Amand Tihon [Thu, 4 Jun 2009 12:42:37 +0000 (14:42 +0200)]
Don't show the time in the prompt.

This time in the prompt is not the current time, but the time at which the
prompt was printed. This is not very useful.

15 years agoMinor: cosmetic
Amand Tihon [Tue, 2 Jun 2009 15:57:18 +0000 (17:57 +0200)]
Minor: cosmetic

15 years agoShorten konsole tab text for directories
Amand Tihon [Tue, 2 Jun 2009 12:41:40 +0000 (14:41 +0200)]
Shorten konsole tab text for directories

15 years agoUnbreak completion on wrapped commands.
Amand Tihon [Tue, 2 Jun 2009 09:59:01 +0000 (11:59 +0200)]
Unbreak completion on wrapped commands.

15 years agoInitial commit
Amand Tihon [Tue, 2 Jun 2009 08:54:15 +0000 (10:54 +0200)]
Initial commit