]> arthur.barton.de Git - ax-zsh.git/log
ax-zsh.git
8 years agogit: Add "git fix" alias
Alexander Barton [Wed, 10 Feb 2016 14:52:12 +0000 (15:52 +0100)]
git: Add "git fix" alias

8 years ago20_home: Create local home directory with restricted permissions
Alexander Barton [Sun, 6 Dec 2015 18:20:17 +0000 (19:20 +0100)]
20_home: Create local home directory with restricted permissions

8 years agozsh-syntax-highlighting: Find scripts on Debian, too
Alexander Barton [Sun, 6 Dec 2015 18:19:04 +0000 (19:19 +0100)]
zsh-syntax-highlighting: Find scripts on Debian, too

zsh-syntax-highlighting is available in Debian "testing" now.

8 years agoFix, update, and enhance the README.md file
Alexander Barton [Tue, 1 Dec 2015 14:41:46 +0000 (15:41 +0100)]
Fix, update, and enhance the README.md file

8 years agognupg: Read in ~/.gpg-agent-info file
Alexander Barton [Tue, 1 Dec 2015 14:02:05 +0000 (15:02 +0100)]
gnupg: Read in ~/.gpg-agent-info file

8 years agoinstall.sh: Install themes, too!
Alexander Barton [Sun, 15 Nov 2015 15:52:06 +0000 (16:52 +0100)]
install.sh: Install themes, too!

8 years agobyebye: Add extra empty line
Alexander Barton [Sat, 14 Nov 2015 23:47:06 +0000 (00:47 +0100)]
byebye: Add extra empty line

8 years agoOnly test for ~/.axzsh.debug once and export AXZSH_DEBUG
Alexander Barton [Sat, 14 Nov 2015 23:44:11 +0000 (00:44 +0100)]
Only test for ~/.axzsh.debug once and export AXZSH_DEBUG

This makes subsequent tests much faster and allows other tools to
test for "debug mode" much simpler.

8 years agoDon't call external tools, use variable modifiers
Alexander Barton [Sat, 14 Nov 2015 23:41:33 +0000 (00:41 +0100)]
Don't call external tools, use variable modifiers

Not calling external tools like basename(1) and readlink(1) but ZSH
variable modifiers greatly enhances startup performance, especially on
slow machines.

8 years agoOnly window/icon title on "modern" terminals only
Alexander Barton [Sat, 7 Nov 2015 21:15:57 +0000 (22:15 +0100)]
Only window/icon title on "modern" terminals only

8 years ago99_cleanup: Suppress error messages of "unfunction"
Alexander Barton [Tue, 3 Nov 2015 14:33:55 +0000 (15:33 +0100)]
99_cleanup: Suppress error messages of "unfunction"

8 years ago50_prompt: Show "logname" for root user by default
Alexander Barton [Mon, 2 Nov 2015 14:35:22 +0000 (15:35 +0100)]
50_prompt: Show "logname" for root user by default

8 years agoFix "theme" setup, rename "prompt" plugin to "theme"
Alexander Barton [Mon, 2 Nov 2015 14:32:10 +0000 (15:32 +0100)]
Fix "theme" setup, rename "prompt" plugin to "theme"

This fixes commit 07055eae "50_prompt: Don't export PS{1...4} and
RPS{1|2} any more", which moved prompt initialization from "zlogin"
stage to "zshrc" stage.

8 years ago"ax" theme: Fix CVS prompt, don't insert a space
Alexander Barton [Mon, 2 Nov 2015 13:36:00 +0000 (14:36 +0100)]
"ax" theme: Fix CVS prompt, don't insert a space

8 years ago"ax" theme: Set and export PS4 prompt
Alexander Barton [Mon, 2 Nov 2015 13:35:29 +0000 (14:35 +0100)]
"ax" theme: Set and export PS4 prompt

8 years ago50_prompt: Don't export PS{1...4} and RPS{1|2} any more
Alexander Barton [Mon, 2 Nov 2015 13:33:57 +0000 (14:33 +0100)]
50_prompt: Don't export PS{1...4} and RPS{1|2} any more

Exporting the prompt environment variables fails with non-ZSH sub-shells,
and with AX-ZSH themes that relay on environment variables that aren't
exported (and plain ZSH doesn't export by default, so nobody can relay on
this anyway).

Now themes are initialized in the "zshrc" step (insetad of "zlogin").

8 years agoAdd completion for "axzshctl" command
Alexander Barton [Tue, 13 Oct 2015 15:16:46 +0000 (17:16 +0200)]
Add completion for "axzshctl" command

8 years agoAdd plugin "function path" to search path, when existent
Alexander Barton [Tue, 13 Oct 2015 15:16:22 +0000 (17:16 +0200)]
Add plugin "function path" to search path, when existent

8 years agoAdd "ohmyzsh" (robbyrussell) theme
Alexander Barton [Mon, 5 Oct 2015 19:13:48 +0000 (21:13 +0200)]
Add "ohmyzsh" (robbyrussell) theme

8 years agoAdd "debian" theme
Alexander Barton [Mon, 5 Oct 2015 19:13:25 +0000 (21:13 +0200)]
Add "debian" theme

8 years agoAllow themes to define VCS info spacing
Alexander Barton [Mon, 5 Oct 2015 19:08:13 +0000 (21:08 +0200)]
Allow themes to define VCS info spacing

8 years agoAdd "powerline-shell" plugin
Alexander Barton [Sun, 4 Oct 2015 01:29:36 +0000 (03:29 +0200)]
Add "powerline-shell" plugin

8 years ago99_cleanup: Don't clean up when zprofile hasn't been read
Alexander Barton [Fri, 2 Oct 2015 08:53:15 +0000 (10:53 +0200)]
99_cleanup: Don't clean up when zprofile hasn't been read

8 years ago01_zprofile, 99_zlogin: Use full plugin path
Alexander Barton [Fri, 2 Oct 2015 08:52:51 +0000 (10:52 +0200)]
01_zprofile, 99_zlogin: Use full plugin path

8 years agoiterm2: Don't test for $TERM_PROGRAM, dosn't work on remote hosts
Alexander Barton [Tue, 29 Sep 2015 12:27:06 +0000 (14:27 +0200)]
iterm2: Don't test for $TERM_PROGRAM, dosn't work on remote hosts

8 years agoAdd "iterm2" plugin: iTerm2.app shell integration
Alexander Barton [Tue, 29 Sep 2015 11:35:00 +0000 (13:35 +0200)]
Add "iterm2" plugin: iTerm2.app shell integration

8 years agoax.axzshtheme: Refactor usage of default variables
Alexander Barton [Sun, 27 Sep 2015 19:28:37 +0000 (21:28 +0200)]
ax.axzshtheme: Refactor usage of default variables

8 years agoStreamline default values of AX-ZSH theming variables
Alexander Barton [Sun, 27 Sep 2015 19:06:12 +0000 (21:06 +0200)]
Streamline default values of AX-ZSH theming variables

8 years ago50_prompt: Introduce ax_prompt() function
Alexander Barton [Sun, 27 Sep 2015 19:05:36 +0000 (21:05 +0200)]
50_prompt: Introduce ax_prompt() function

8 years ago50_prompt: ZSH_THEME_{LOGNAME|HOSTNAME|VCS}_PROMPT_{PREFIX|SUFFIX}_SPACING
Alexander Barton [Sun, 27 Sep 2015 18:42:46 +0000 (20:42 +0200)]
50_prompt: ZSH_THEME_{LOGNAME|HOSTNAME|VCS}_PROMPT_{PREFIX|SUFFIX}_SPACING

8 years agoInitial theming support
Alexander Barton [Sun, 27 Sep 2015 18:27:53 +0000 (20:27 +0200)]
Initial theming support

8 years agoax_logname_prompt_root(): Don't output user name
Alexander Barton [Sun, 27 Sep 2015 18:25:02 +0000 (20:25 +0200)]
ax_logname_prompt_root(): Don't output user name

This fixes b51f608157.

8 years agoNew core module "99_cleanup"
Alexander Barton [Sun, 27 Sep 2015 18:19:51 +0000 (20:19 +0200)]
New core module "99_cleanup"

Don't pollute the namespace, remove variables/functions/...

8 years ago50_prompt: Export all prompt variables
Alexander Barton [Sun, 27 Sep 2015 18:19:12 +0000 (20:19 +0200)]
50_prompt: Export all prompt variables

8 years ago50_prompt: Remove unused variables
Alexander Barton [Sun, 27 Sep 2015 18:13:21 +0000 (20:13 +0200)]
50_prompt: Remove unused variables

8 years agoRun ax_{logname|hostname}_prompt_yn() only once when setting PS1
Alexander Barton [Sun, 27 Sep 2015 17:39:01 +0000 (19:39 +0200)]
Run ax_{logname|hostname}_prompt_yn() only once when setting PS1

Don't run these functions each time the prompt is displayed.

8 years agoRefactor prompt functions
Alexander Barton [Sun, 27 Sep 2015 17:34:18 +0000 (19:34 +0200)]
Refactor prompt functions

- Initialize ax_*_prompt_functions arrays.
- ax_logname_prompt -> ax_logname_prompt_yn, return boolean.
- ax_hostname_prompt -> ax_hostname_prompt_yn, return boolean.
- ssh_logname_prompt -> _ax_ssh_logname_prompt, return boolean.

8 years agoax.zsh: Undefined "axzsh_load_plugin" function, it's not public
Alexander Barton [Sun, 27 Sep 2015 15:18:45 +0000 (17:18 +0200)]
ax.zsh: Undefined "axzsh_load_plugin" function, it's not public

Plugins can't be loaded with this function on runtime (because plugins
can consist of different stages: zlogin/zprofile/zshrc/...), so don't
pollute the namespace.

8 years agoaxzshctl: Fix "usage" message
Alexander Barton [Sun, 27 Sep 2015 15:16:32 +0000 (17:16 +0200)]
axzshctl: Fix "usage" message

8 years agoREADME.md: Update introduction, mention "ZSH"
Alexander Barton [Sat, 26 Sep 2015 14:50:29 +0000 (16:50 +0200)]
README.md: Update introduction, mention "ZSH"

8 years agoAdd README.md files for plugins
Alexander Barton [Sat, 26 Sep 2015 14:48:23 +0000 (16:48 +0200)]
Add README.md files for plugins

8 years agoAdd "fzf" plugin: "zf(1), a command-line fuzzy finder"
Alexander Barton [Sat, 26 Sep 2015 13:47:44 +0000 (15:47 +0200)]
Add "fzf" plugin: "zf(1), a command-line fuzzy finder"

8 years agothefuck: Use "thefuck --alias" for initialization
Alexander Barton [Sun, 20 Sep 2015 18:34:10 +0000 (20:34 +0200)]
thefuck: Use "thefuck --alias" for initialization

8 years agoaxzshctl: Implement "upgrade" command
Alexander Barton [Sat, 12 Sep 2015 19:00:19 +0000 (21:00 +0200)]
axzshctl: Implement "upgrade" command

8 years agoIntroduce $AXZSH/custom_plugins directory
Alexander Barton [Sat, 12 Sep 2015 18:42:11 +0000 (20:42 +0200)]
Introduce $AXZSH/custom_plugins directory

You can use this directory to store custom/local plugins.

8 years agoREADME.md: Add "customization" section
Alexander Barton [Sat, 12 Sep 2015 18:36:27 +0000 (20:36 +0200)]
README.md: Add "customization" section

8 years agoREADME.md: Update installation instructions
Alexander Barton [Sat, 12 Sep 2015 18:35:11 +0000 (20:35 +0200)]
README.md: Update installation instructions

8 years agoinstall.sh: Introduce "abort" function and use it
Alexander Barton [Sat, 12 Sep 2015 18:08:53 +0000 (20:08 +0200)]
install.sh: Introduce "abort" function and use it

8 years agoinstall.sh: Use "which" instead of "type"
Alexander Barton [Sat, 12 Sep 2015 18:07:15 +0000 (20:07 +0200)]
install.sh: Use "which" instead of "type"

"type" isn't POSIX compliant.

8 years agoinstall.sh: Really copy files or setup existing ~/.axzsh directory
Alexander Barton [Sat, 12 Sep 2015 18:06:46 +0000 (20:06 +0200)]
install.sh: Really copy files or setup existing ~/.axzsh directory

Don't symlink ~/.axzsh to some other location.

8 years agoAdd "hub" plugin for hub(1)
Alexander Barton [Sat, 12 Sep 2015 16:46:32 +0000 (18:46 +0200)]
Add "hub" plugin for hub(1)

https://hub.github.com

8 years agols: Fix detection of color support
Alexander Barton [Fri, 28 Aug 2015 15:14:34 +0000 (17:14 +0200)]
ls: Fix detection of color support

8 years agoaxzshctl: Implement "enable-default-plugins"
Alexander Barton [Fri, 28 Aug 2015 14:59:16 +0000 (16:59 +0200)]
axzshctl: Implement "enable-default-plugins"

8 years agokeychain: Use forwarded agents
Alexander Barton [Tue, 25 Aug 2015 07:00:20 +0000 (09:00 +0200)]
keychain: Use forwarded agents

8 years agostd_env: Set up ZSH "REPORTTIME"
Alexander Barton [Sat, 22 Aug 2015 12:50:58 +0000 (14:50 +0200)]
std_env: Set up ZSH "REPORTTIME"

8 years agostd_options: Watch for logins of other users
Alexander Barton [Sat, 22 Aug 2015 12:50:38 +0000 (14:50 +0200)]
std_options: Watch for logins of other users

8 years agostd_options: Enable "longlistjobs"
Alexander Barton [Sat, 22 Aug 2015 12:50:18 +0000 (14:50 +0200)]
std_options: Enable "longlistjobs"

8 years agols: Set up "dircolors" when available
Alexander Barton [Sat, 22 Aug 2015 12:49:02 +0000 (14:49 +0200)]
ls: Set up "dircolors" when available

And use "dircolors" for completion menus, too.

8 years agoless: Set up color usage
Alexander Barton [Sat, 22 Aug 2015 12:48:14 +0000 (14:48 +0200)]
less: Set up color usage

8 years agohistory: Ignore duplicates and commands that begin with a space
Alexander Barton [Sat, 22 Aug 2015 12:47:58 +0000 (14:47 +0200)]
history: Ignore duplicates and commands that begin with a space

8 years ago50_completion: Insert manual page sections
Alexander Barton [Sat, 22 Aug 2015 12:47:22 +0000 (14:47 +0200)]
50_completion: Insert manual page sections

8 years agostd_env: Don't overwrite variables
Alexander Barton [Sat, 22 Aug 2015 11:40:00 +0000 (13:40 +0200)]
std_env: Don't overwrite variables

8 years agossh_secure: Don't alias "ssh" to "ssh -o 'StrictHostKeyChecking yes'
Alexander Barton [Thu, 20 Aug 2015 13:18:19 +0000 (15:18 +0200)]
ssh_secure: Don't alias "ssh" to "ssh -o 'StrictHostKeyChecking yes'

Creating this alias prevents the user from overwriting this for certain
hosts in his ~/.ssh/config file.

You should add something like the folloging to you ~/.ssh/config file
to make ssh more secure by default:

    # Trusted test network with changing hosts
    Host *.example.net
        StrictHostKeyChecking no
        UserKnownHostsFile /dev/null

    # Be more secure by default!
    Host *
        CheckHostIP yes
        StrictHostKeyChecking yes

8 years ago10_terminal: Add "root" to list of remote commands
Alexander Barton [Wed, 19 Aug 2015 08:38:24 +0000 (10:38 +0200)]
10_terminal: Add "root" to list of remote commands

Ugly hack, but I use this alias for ssh at work ...

8 years ago10_terminal: Add command to window title in iTerm.app
Alexander Barton [Wed, 19 Aug 2015 08:37:03 +0000 (10:37 +0200)]
10_terminal: Add command to window title in iTerm.app

8 years ago10_terminal: Don't set "user@host" window title for remote commands
Alexander Barton [Wed, 19 Aug 2015 08:36:35 +0000 (10:36 +0200)]
10_terminal: Don't set "user@host" window title for remote commands

8 years agodocker-machine: Suppress error output
Alexander Barton [Sun, 16 Aug 2015 13:49:56 +0000 (15:49 +0200)]
docker-machine: Suppress error output

8 years agoAdd "docker-machine" plugin
Alexander Barton [Sun, 16 Aug 2015 11:33:21 +0000 (13:33 +0200)]
Add "docker-machine" plugin

8 years agoCoding style: Don't quote alias names
Alexander Barton [Sun, 16 Aug 2015 11:32:56 +0000 (13:32 +0200)]
Coding style: Don't quote alias names

8 years agoinstall.sh: Check if zsh(1) is available
Alexander Barton [Sun, 9 Aug 2015 18:23:49 +0000 (20:23 +0200)]
install.sh: Check if zsh(1) is available

8 years agoinstall.sh: Fix ax_msg() fallback function
Alexander Barton [Sun, 9 Aug 2015 18:23:35 +0000 (20:23 +0200)]
install.sh: Fix ax_msg() fallback function

8 years ago05_fpath: Search for additional "function paths"
Alexander Barton [Sun, 2 Aug 2015 00:52:35 +0000 (02:52 +0200)]
05_fpath: Search for additional "function paths"

The priority is:
User-local paths > plugin paths > system-wide paths > default paths

8 years agoFix axzshctl to handle plugin names as well as path names
Alexander Barton [Sun, 2 Aug 2015 00:48:50 +0000 (02:48 +0200)]
Fix axzshctl to handle plugin names as well as path names

This fixes commit 1a17887270 which was broken :-/

8 years agoaxzshctl: Update help text
Alexander Barton [Sat, 1 Aug 2015 13:39:51 +0000 (15:39 +0200)]
axzshctl: Update help text

8 years agoaxzshctl: Use ":A" qualifier, now relative path names can be used
Alexander Barton [Sat, 1 Aug 2015 13:38:30 +0000 (15:38 +0200)]
axzshctl: Use ":A" qualifier, now relative path names can be used

8 years agoUse "ax-common" when available, implement wrapper functions
Alexander Barton [Thu, 30 Jul 2015 22:46:16 +0000 (00:46 +0200)]
Use "ax-common" when available, implement wrapper functions

8 years agoDon't error out when $AXZSH/active_plugins/ does not exist
Alexander Barton [Thu, 30 Jul 2015 14:37:09 +0000 (16:37 +0200)]
Don't error out when $AXZSH/active_plugins/ does not exist

8 years agoinstall.sh: export AXZSH variable
Alexander Barton [Thu, 30 Jul 2015 14:32:40 +0000 (16:32 +0200)]
install.sh: export AXZSH variable

8 years agoPlugins are activated using symlinks in $AXZSH/active_plugins
Alexander Barton [Thu, 30 Jul 2015 14:26:54 +0000 (16:26 +0200)]
Plugins are activated using symlinks in $AXZSH/active_plugins

AX-ZSH no longer uses configuration variables ($axzsh_plugins,
$axzsh_default_plugins, $plugins) to configure the list of plugins
to load. Instead, all plugins that should be activated must be
linked into the $AXZSH/active_plugins/ directory.

To simplify the plugin handling, the new "axzshctl" script has been
added: you can use the subcommands "enable-plugin", "disable-plugin",
and "reset-plugins" to enable or disable individual plugins, or to
reset the list of activated plugins to the default plugins.

8 years agoinstall.sh: Show information about the destination directory
Alexander Barton [Thu, 30 Jul 2015 14:23:06 +0000 (16:23 +0200)]
install.sh: Show information about the destination directory

8 years agoinstall.sh: Use $AXZSH, when already set
Alexander Barton [Thu, 30 Jul 2015 14:22:29 +0000 (16:22 +0200)]
install.sh: Use $AXZSH, when already set

8 years agoREADME.md: Add "installation" section
Alexander Barton [Thu, 30 Jul 2015 14:20:05 +0000 (16:20 +0200)]
README.md: Add "installation" section

8 years agoAdd "pdfman" plugin
Alexander Barton [Thu, 30 Jul 2015 12:41:00 +0000 (14:41 +0200)]
Add "pdfman" plugin

PDFman is a script for OS X which renders manual pages as PDF and
shows them using Preview.app, for example.

8 years agoDon't hardcode default plugins, read them from ./default_plugins/
Alexander Barton [Thu, 30 Jul 2015 12:40:13 +0000 (14:40 +0200)]
Don't hardcode default plugins, read them from ./default_plugins/

8 years agoAdd "zsh-syntax-highlighting" plugin
Alexander Barton [Mon, 27 Jul 2015 23:05:20 +0000 (01:05 +0200)]
Add "zsh-syntax-highlighting" plugin

8 years agostd_options: Add some more options
Alexander Barton [Fri, 24 Jul 2015 23:40:44 +0000 (01:40 +0200)]
std_options: Add some more options

8 years agoREADME: Update list of default plugins
Alexander Barton [Fri, 24 Jul 2015 23:40:05 +0000 (01:40 +0200)]
README: Update list of default plugins

8 years agoinstall.sh: Set "umask" to 027 by default
Alexander Barton [Fri, 24 Jul 2015 22:59:40 +0000 (00:59 +0200)]
install.sh: Set "umask" to 027 by default

8 years agoinstall.sh: Create symlinks relative to ~/.axzsh
Alexander Barton [Fri, 24 Jul 2015 22:59:20 +0000 (00:59 +0200)]
install.sh: Create symlinks relative to ~/.axzsh

8 years ago10_keyboard: Initialize DELETE key
Alexander Barton [Fri, 24 Jul 2015 22:11:56 +0000 (00:11 +0200)]
10_keyboard: Initialize DELETE key

8 years agoUse "autoload -Uz"
Alexander Barton [Fri, 24 Jul 2015 21:55:58 +0000 (23:55 +0200)]
Use "autoload -Uz"

8 years agoAdd "zkbd" plugin
Alexander Barton [Fri, 24 Jul 2015 21:55:23 +0000 (23:55 +0200)]
Add "zkbd" plugin

8 years agoAdd "gnupg" plugin
Alexander Barton [Mon, 20 Jul 2015 08:34:35 +0000 (10:34 +0200)]
Add "gnupg" plugin

8 years ago10_terminal: Rework window title, tab title, and hardstatus handling
Alexander Barton [Sun, 19 Jul 2015 23:09:43 +0000 (01:09 +0200)]
10_terminal: Rework window title, tab title, and hardstatus handling

Now the result should be more consistent and useful:

- Apple Terminal.app: The current working directory is set for local
  commands and removed for remote commands (mosh, ssh, telnet).

- The "window title" is set to "user@host", and the working directory is
  added when not using Apple Terminal.app or a remote shell.

- The "icon title" (used for "tabulator titles" in most current terminal
  emulators) and "hardstatus" (used by screen(1)) is set to the command
  name only.

8 years ago50_completion: Update compsys options
Alexander Barton [Sun, 19 Jul 2015 20:54:55 +0000 (22:54 +0200)]
50_completion: Update compsys options

8 years ago50_completion: Ignore completion functions
Alexander Barton [Sun, 19 Jul 2015 20:54:15 +0000 (22:54 +0200)]
50_completion: Ignore completion functions

8 years ago10_terminal: Set terminal title and working directory in one function
Alexander Barton [Sun, 19 Jul 2015 20:53:42 +0000 (22:53 +0200)]
10_terminal: Set terminal title and working directory in one function

8 years agovirtualenvwrapper: Use virtualenvwrapper_lazy.sh, when available
Alexander Barton [Sun, 19 Jul 2015 15:47:16 +0000 (17:47 +0200)]
virtualenvwrapper: Use virtualenvwrapper_lazy.sh, when available

"Lazy loading" enhance startup times :-)

8 years agoNew plugin "std_options": Set standard ZSH options
Alexander Barton [Sun, 19 Jul 2015 15:21:49 +0000 (17:21 +0200)]
New plugin "std_options": Set standard ZSH options

This plugin is a default plugin, therefore loaded automatically.

8 years ago10_keyboard: Enable editing of the current command line in $EDITOR
Alexander Barton [Sun, 19 Jul 2015 15:11:54 +0000 (17:11 +0200)]
10_keyboard: Enable editing of the current command line in $EDITOR