]>
arthur.barton.de Git - ax-zsh.git/log
Alexander Barton [Wed, 11 May 2016 09:45:12 +0000 (11:45 +0200)]
Add new "check-plugins" command to axzshctl(1)
Alexander Barton [Wed, 11 May 2016 08:55:30 +0000 (10:55 +0200)]
powerline-shell: Fail silently
Alexander Barton [Wed, 11 May 2016 08:18:09 +0000 (10:18 +0200)]
Add "zsh-navigation-tools" plugin
Alexander Barton [Wed, 11 May 2016 08:16:41 +0000 (10:16 +0200)]
homebrew: Make code a little bit better ;-)
Alexander Barton [Sat, 7 May 2016 18:51:31 +0000 (20:51 +0200)]
Use UTF8 characters in VCS prompts on UTF8 terminals only
Alexander Barton [Sat, 7 May 2016 18:15:28 +0000 (20:15 +0200)]
"ax" theme: Don't use UTF8 characters on non-UTF8 terminals
Alexander Barton [Fri, 6 May 2016 16:46:45 +0000 (18:46 +0200)]
Clean up external repositories on "axzshctl reset-plugins"
Alexander Barton [Fri, 6 May 2016 16:45:26 +0000 (18:45 +0200)]
Fix detection of plugins stored on GitHub
This fixes enabling of local plugins using a full path name.
Alexander Barton [Fri, 6 May 2016 16:10:35 +0000 (18:10 +0200)]
Really skip unknown plugins altogether
Alexander Barton [Fri, 6 May 2016 16:10:06 +0000 (18:10 +0200)]
Add some more comments ...
Alexander Barton [Fri, 6 May 2016 11:09:47 +0000 (13:09 +0200)]
Strip ".zsh" extension from foreign plugin names
Alexander Barton [Fri, 6 May 2016 10:42:00 +0000 (12:42 +0200)]
Implement plugin loading from GitHub
Simply use "<user-name>/<project-name>" als plugin name when calling
"axzshctl enable-plugin" and "axzshctl disable-plugin". Example:
axzshctl enable-plugin zsh-users/zsh-autosuggestions
The remote repository is cloned into the local "$AXZSH/repos" directory
and deleted by "axzshctl disable-plugin" when it is no longer needed.
"axzshctl upgrade" upgrades all remote repositories as well.
Alexander Barton [Fri, 6 May 2016 10:39:04 +0000 (12:39 +0200)]
Fix handling of foreign plugins
And enhance error handling & reporting.
Alexander Barton [Fri, 6 May 2016 10:37:32 +0000 (12:37 +0200)]
2016! :-)
Alexander Barton [Fri, 15 Apr 2016 19:23:53 +0000 (21:23 +0200)]
homebrew: Clean up ZSH completion handling
Homebrew recently restructured their repositories and removed the
"brew_zsh_completion.zsh" file; so this "trick" dosn't work any more.
But ZSH completion uses the bash "brew" completion anyways, so
everything should be fine.
This reverts
56a1f26373 .
Alexander Barton [Sun, 21 Feb 2016 22:22:56 +0000 (23:22 +0100)]
10_terminal: Implement "axzsh_resize_terminal COLUMNS LINES"
Alexander Barton [Sun, 21 Feb 2016 22:21:49 +0000 (23:21 +0100)]
10_terminal: Reorder functions
Alexander Barton [Fri, 19 Feb 2016 10:01:04 +0000 (11:01 +0100)]
10_terminal: Add axzsh_is_utf_terminal and isutfenv functions
The latter is an alias of the first, which is used by GRML ZSH.
Alexander Barton [Fri, 19 Feb 2016 09:59:44 +0000 (10:59 +0100)]
virtualenvwrapper: Try to set PROJECT_HOME harder
Alexander Barton [Fri, 19 Feb 2016 09:58:40 +0000 (10:58 +0100)]
Correctly unset local variables
Alexander Barton [Fri, 19 Feb 2016 09:57:15 +0000 (10:57 +0100)]
homebrew: Link ZSH completion into plugin function directory
Alexander Barton [Wed, 10 Feb 2016 14:52:12 +0000 (15:52 +0100)]
git: Add "git fix" alias
Alexander Barton [Sun, 6 Dec 2015 18:20:17 +0000 (19:20 +0100)]
20_home: Create local home directory with restricted permissions
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.
Alexander Barton [Tue, 1 Dec 2015 14:41:46 +0000 (15:41 +0100)]
Fix, update, and enhance the README.md file
Alexander Barton [Tue, 1 Dec 2015 14:02:05 +0000 (15:02 +0100)]
gnupg: Read in ~/.gpg-agent-info file
Alexander Barton [Sun, 15 Nov 2015 15:52:06 +0000 (16:52 +0100)]
install.sh: Install themes, too!
Alexander Barton [Sat, 14 Nov 2015 23:47:06 +0000 (00:47 +0100)]
byebye: Add extra empty line
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.
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.
Alexander Barton [Sat, 7 Nov 2015 21:15:57 +0000 (22:15 +0100)]
Only window/icon title on "modern" terminals only
Alexander Barton [Tue, 3 Nov 2015 14:33:55 +0000 (15:33 +0100)]
99_cleanup: Suppress error messages of "unfunction"
Alexander Barton [Mon, 2 Nov 2015 14:35:22 +0000 (15:35 +0100)]
50_prompt: Show "logname" for root user by default
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.
Alexander Barton [Mon, 2 Nov 2015 13:36:00 +0000 (14:36 +0100)]
"ax" theme: Fix CVS prompt, don't insert a space
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.