]>
arthur.barton.de Git - ax-zsh.git/log
Alexander Barton [Mon, 2 Nov 2015 13:35:29 +0000 (14:35 +0100)]
"ax" theme: Set and export PS4 prompt
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").
Alexander Barton [Tue, 13 Oct 2015 15:16:46 +0000 (17:16 +0200)]
Add completion for "axzshctl" command
Alexander Barton [Tue, 13 Oct 2015 15:16:22 +0000 (17:16 +0200)]
Add plugin "function path" to search path, when existent
Alexander Barton [Mon, 5 Oct 2015 19:13:48 +0000 (21:13 +0200)]
Add "ohmyzsh" (robbyrussell) theme
Alexander Barton [Mon, 5 Oct 2015 19:13:25 +0000 (21:13 +0200)]
Add "debian" theme
Alexander Barton [Mon, 5 Oct 2015 19:08:13 +0000 (21:08 +0200)]
Allow themes to define VCS info spacing
Alexander Barton [Sun, 4 Oct 2015 01:29:36 +0000 (03:29 +0200)]
Add "powerline-shell" plugin
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
Alexander Barton [Fri, 2 Oct 2015 08:52:51 +0000 (10:52 +0200)]
01_zprofile, 99_zlogin: Use full plugin path
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
Alexander Barton [Tue, 29 Sep 2015 11:35:00 +0000 (13:35 +0200)]
Add "iterm2" plugin: iTerm2.app shell integration
Alexander Barton [Sun, 27 Sep 2015 19:28:37 +0000 (21:28 +0200)]
ax.axzshtheme: Refactor usage of default variables
Alexander Barton [Sun, 27 Sep 2015 19:06:12 +0000 (21:06 +0200)]
Streamline default values of AX-ZSH theming variables
Alexander Barton [Sun, 27 Sep 2015 19:05:36 +0000 (21:05 +0200)]
50_prompt: Introduce ax_prompt() function
Alexander Barton [Sun, 27 Sep 2015 18:42:46 +0000 (20:42 +0200)]
50_prompt: ZSH_THEME_{LOGNAME|HOSTNAME|VCS}_PROMPT_{PREFIX|SUFFIX}_SPACING
Alexander Barton [Sun, 27 Sep 2015 18:27:53 +0000 (20:27 +0200)]
Initial theming support
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 .
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/...
Alexander Barton [Sun, 27 Sep 2015 18:19:12 +0000 (20:19 +0200)]
50_prompt: Export all prompt variables
Alexander Barton [Sun, 27 Sep 2015 18:13:21 +0000 (20:13 +0200)]
50_prompt: Remove unused variables
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.
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.
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.
Alexander Barton [Sun, 27 Sep 2015 15:16:32 +0000 (17:16 +0200)]
axzshctl: Fix "usage" message
Alexander Barton [Sat, 26 Sep 2015 14:50:29 +0000 (16:50 +0200)]
README.md: Update introduction, mention "ZSH"
Alexander Barton [Sat, 26 Sep 2015 14:48:23 +0000 (16:48 +0200)]
Add README.md files for plugins
Alexander Barton [Sat, 26 Sep 2015 13:47:44 +0000 (15:47 +0200)]
Add "fzf" plugin: "zf(1), a command-line fuzzy finder"
Alexander Barton [Sun, 20 Sep 2015 18:34:10 +0000 (20:34 +0200)]
thefuck: Use "thefuck --alias" for initialization
Alexander Barton [Sat, 12 Sep 2015 19:00:19 +0000 (21:00 +0200)]
axzshctl: Implement "upgrade" command
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.
Alexander Barton [Sat, 12 Sep 2015 18:36:27 +0000 (20:36 +0200)]
README.md: Add "customization" section
Alexander Barton [Sat, 12 Sep 2015 18:35:11 +0000 (20:35 +0200)]
README.md: Update installation instructions
Alexander Barton [Sat, 12 Sep 2015 18:08:53 +0000 (20:08 +0200)]
install.sh: Introduce "abort" function and use it
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.
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.
Alexander Barton [Sat, 12 Sep 2015 16:46:32 +0000 (18:46 +0200)]
Add "hub" plugin for hub(1)
https://hub.github.com
Alexander Barton [Fri, 28 Aug 2015 15:14:34 +0000 (17:14 +0200)]
ls: Fix detection of color support
Alexander Barton [Fri, 28 Aug 2015 14:59:16 +0000 (16:59 +0200)]
axzshctl: Implement "enable-default-plugins"
Alexander Barton [Tue, 25 Aug 2015 07:00:20 +0000 (09:00 +0200)]
keychain: Use forwarded agents
Alexander Barton [Sat, 22 Aug 2015 12:50:58 +0000 (14:50 +0200)]
std_env: Set up ZSH "REPORTTIME"
Alexander Barton [Sat, 22 Aug 2015 12:50:38 +0000 (14:50 +0200)]
std_options: Watch for logins of other users
Alexander Barton [Sat, 22 Aug 2015 12:50:18 +0000 (14:50 +0200)]
std_options: Enable "longlistjobs"
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.
Alexander Barton [Sat, 22 Aug 2015 12:48:14 +0000 (14:48 +0200)]
less: Set up color usage
Alexander Barton [Sat, 22 Aug 2015 12:47:58 +0000 (14:47 +0200)]
history: Ignore duplicates and commands that begin with a space
Alexander Barton [Sat, 22 Aug 2015 12:47:22 +0000 (14:47 +0200)]
50_completion: Insert manual page sections
Alexander Barton [Sat, 22 Aug 2015 11:40:00 +0000 (13:40 +0200)]
std_env: Don't overwrite variables
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
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 ...
Alexander Barton [Wed, 19 Aug 2015 08:37:03 +0000 (10:37 +0200)]
10_terminal: Add command to window title in iTerm.app
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
Alexander Barton [Sun, 16 Aug 2015 13:49:56 +0000 (15:49 +0200)]
docker-machine: Suppress error output
Alexander Barton [Sun, 16 Aug 2015 11:33:21 +0000 (13:33 +0200)]
Add "docker-machine" plugin
Alexander Barton [Sun, 16 Aug 2015 11:32:56 +0000 (13:32 +0200)]
Coding style: Don't quote alias names
Alexander Barton [Sun, 9 Aug 2015 18:23:49 +0000 (20:23 +0200)]
install.sh: Check if zsh(1) is available
Alexander Barton [Sun, 9 Aug 2015 18:23:35 +0000 (20:23 +0200)]
install.sh: Fix ax_msg() fallback function
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
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 :-/
Alexander Barton [Sat, 1 Aug 2015 13:39:51 +0000 (15:39 +0200)]
axzshctl: Update help text
Alexander Barton [Sat, 1 Aug 2015 13:38:30 +0000 (15:38 +0200)]
axzshctl: Use ":A" qualifier, now relative path names can be used
Alexander Barton [Thu, 30 Jul 2015 22:46:16 +0000 (00:46 +0200)]
Use "ax-common" when available, implement wrapper functions
Alexander Barton [Thu, 30 Jul 2015 14:37:09 +0000 (16:37 +0200)]
Don't error out when $AXZSH/active_plugins/ does not exist
Alexander Barton [Thu, 30 Jul 2015 14:32:40 +0000 (16:32 +0200)]
install.sh: export AXZSH variable
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.
Alexander Barton [Thu, 30 Jul 2015 14:23:06 +0000 (16:23 +0200)]
install.sh: Show information about the destination directory
Alexander Barton [Thu, 30 Jul 2015 14:22:29 +0000 (16:22 +0200)]
install.sh: Use $AXZSH, when already set
Alexander Barton [Thu, 30 Jul 2015 14:20:05 +0000 (16:20 +0200)]
README.md: Add "installation" section
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.
Alexander Barton [Thu, 30 Jul 2015 12:40:13 +0000 (14:40 +0200)]
Don't hardcode default plugins, read them from ./default_plugins/
Alexander Barton [Mon, 27 Jul 2015 23:05:20 +0000 (01:05 +0200)]
Add "zsh-syntax-highlighting" plugin
Alexander Barton [Fri, 24 Jul 2015 23:40:44 +0000 (01:40 +0200)]
std_options: Add some more options
Alexander Barton [Fri, 24 Jul 2015 23:40:05 +0000 (01:40 +0200)]
README: Update list of default plugins
Alexander Barton [Fri, 24 Jul 2015 22:59:40 +0000 (00:59 +0200)]
install.sh: Set "umask" to 027 by default
Alexander Barton [Fri, 24 Jul 2015 22:59:20 +0000 (00:59 +0200)]
install.sh: Create symlinks relative to ~/.axzsh
Alexander Barton [Fri, 24 Jul 2015 22:11:56 +0000 (00:11 +0200)]
10_keyboard: Initialize DELETE key
Alexander Barton [Fri, 24 Jul 2015 21:55:58 +0000 (23:55 +0200)]
Use "autoload -Uz"
Alexander Barton [Fri, 24 Jul 2015 21:55:23 +0000 (23:55 +0200)]
Add "zkbd" plugin
Alexander Barton [Mon, 20 Jul 2015 08:34:35 +0000 (10:34 +0200)]
Add "gnupg" plugin
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.
Alexander Barton [Sun, 19 Jul 2015 20:54:55 +0000 (22:54 +0200)]
50_completion: Update compsys options
Alexander Barton [Sun, 19 Jul 2015 20:54:15 +0000 (22:54 +0200)]
50_completion: Ignore completion functions
Alexander Barton [Sun, 19 Jul 2015 20:53:42 +0000 (22:53 +0200)]
10_terminal: Set terminal title and working directory in one function
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 :-)
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.
Alexander Barton [Sun, 19 Jul 2015 15:11:54 +0000 (17:11 +0200)]
10_keyboard: Enable editing of the current command line in $EDITOR
Alexander Barton [Sun, 19 Jul 2015 15:02:18 +0000 (17:02 +0200)]
history: Save history file in cache directory by default
Alexander Barton [Sun, 19 Jul 2015 15:01:54 +0000 (17:01 +0200)]
50_completion: Save "compdump" file in cache directory
Alexander Barton [Sun, 19 Jul 2015 14:49:59 +0000 (16:49 +0200)]
05_fpath: Ignore errors/warnings of "typeset"
Alexander Barton [Sun, 19 Jul 2015 14:48:32 +0000 (16:48 +0200)]
completion: Ignore "uninteresting" users
Alexander Barton [Sun, 19 Jul 2015 14:48:01 +0000 (16:48 +0200)]
correction: Update array of commands not to correct
Alexander Barton [Sun, 19 Jul 2015 14:44:47 +0000 (16:44 +0200)]
New plugin "grep"
This plugin is a default plugin, therefore loaded automatically.
Alexander Barton [Sun, 19 Jul 2015 14:05:37 +0000 (16:05 +0200)]
Search for plugins in "$ZSH_CUSTOM", too
That's the location used by OhMyZsh ...
Alexander Barton [Sun, 19 Jul 2015 13:51:02 +0000 (15:51 +0200)]
byebye: Clear the console on logout if it is a local tty
Alexander Barton [Sun, 19 Jul 2015 13:41:57 +0000 (15:41 +0200)]
New plugin "less"
This plugin is a default plugin, therefore loaded automatically.
Alexander Barton [Sun, 19 Jul 2015 12:25:10 +0000 (14:25 +0200)]
40_path: Update logic, add more search paths
Don't call "path_helper" at the end, because it reorders the PATH components
which leads to unpredictable results on OS X.
And add some more optional search paths, like Alex' "ConfigScripts" does.
Alexander Barton [Sat, 18 Jul 2015 16:02:48 +0000 (18:02 +0200)]
Add "mosh" plugin
Alexander Barton [Sat, 18 Jul 2015 16:02:28 +0000 (18:02 +0200)]
Rework FPATH and completion system
Now AX-ZSH manages its own additional FPATH components, and adds these to
the actual FPATH after reading all zprofile files and before handling all
the zshrc files.
This allows plugins to add custom FPATH directories in their zprofile
part, and to configure completion settings in their zshrc file: "compinit"
is called by the ax.zsh script between these two steps.
Alexander Barton [Sat, 18 Jul 2015 15:39:10 +0000 (17:39 +0200)]
Enhance debug output
Alexander Barton [Sat, 18 Jul 2015 15:21:49 +0000 (17:21 +0200)]
ax.zsh: Initialize script name and type in the very beginning