]> arthur.barton.de Git - ax-zsh.git/log
ax-zsh.git
13 days agohomebrew: Set HOMEBREW_AUTO_UPDATE_SECS to 10 minutes master
Alexander Barton [Tue, 2 Apr 2024 18:59:22 +0000 (20:59 +0200)]
homebrew: Set HOMEBREW_AUTO_UPDATE_SECS to 10 minutes

7 weeks agobrowser_select: Fix incomplete documentation
Alexander Barton [Tue, 20 Feb 2024 20:34:59 +0000 (21:34 +0100)]
browser_select: Fix incomplete documentation

8 weeks agognupg: Don't call tty(1), use the $TTY variable
Alexander Barton [Fri, 16 Feb 2024 09:41:14 +0000 (10:41 +0100)]
gnupg: Don't call tty(1), use the $TTY variable

This fixes setting GPG_TTY when stdin is not a real terminal, for
example when using Powerlevel10k "instant prompt".

See <https://unix.stackexchange.com/questions/608842/zshrc-export-gpg-tty-tty-says-not-a-tty>.

2 months agoOnly unfunction axzsh_plugin_init() when it still exists
Alexander Barton [Sat, 10 Feb 2024 16:47:41 +0000 (17:47 +0100)]
Only unfunction axzsh_plugin_init() when it still exists

The axzsh_handle_stage() can be called recursively, therefore
axzsh_plugin_init() was probably already unfunction'ed.

2 months agoUnset "p10k_instant_prompt" and add some more debug messages
Alexander Barton [Sat, 10 Feb 2024 16:39:38 +0000 (17:39 +0100)]
Unset "p10k_instant_prompt" and add some more debug messages

2 months agoDon't initialize Powerlevel10k "instant prompt" too early
Alexander Barton [Sat, 10 Feb 2024 16:35:48 +0000 (17:35 +0100)]
Don't initialize Powerlevel10k "instant prompt" too early

A non-login shell which is not a (direct) sub-shells of an AX-ZSH
enabled shell will "catch up" on the "ax-io" and "zprofile" stages, so
don't initialize the Powerlevel10k "instant prompt" too early, before
catching up on the "ax-io" stage!

This fixes commit 07d487a.

2 months agoFix catching up the "ax-io", "zprofile" and "zlogin" stages
Alexander Barton [Sat, 10 Feb 2024 16:33:33 +0000 (17:33 +0100)]
Fix catching up the "ax-io", "zprofile" and "zlogin" stages

Especially fix running the "zlogin" stage and exporting the
AXZSH_ZPROFILE_READ variable.

And add some more comments clarifying what's going on and why.

2 months agoInitialize Powerlevel10k in non-login shells, too!
Alexander Barton [Sat, 10 Feb 2024 10:11:15 +0000 (11:11 +0100)]
Initialize Powerlevel10k in non-login shells, too!

2 months agoAdd a .mailmap file
Alexander Barton [Fri, 9 Feb 2024 15:31:23 +0000 (16:31 +0100)]
Add a .mailmap file

2 months agostd_functions: Further tweak untake()
Alexander Barton [Sat, 20 Jan 2024 22:38:47 +0000 (23:38 +0100)]
std_functions: Further tweak untake()

2 months agoaxzshctl: Implement new "plugin-help" subcommand
Alexander Barton [Wed, 17 Jan 2024 10:38:13 +0000 (11:38 +0100)]
axzshctl: Implement new "plugin-help" subcommand

2 months agostd_functions: Enhance take(), introduce untake()
Alexander Barton [Wed, 17 Jan 2024 09:48:52 +0000 (10:48 +0100)]
std_functions: Enhance take(), introduce untake()

take() now creates an new temporary directory when called without
parameters (and changes the working directory into it).

The new untake() functions changes the current working directory to the
home directory and recursively deletes the old working directory when
the path matches a pattern which is used for temporary directorues
created by take().

4 months agoeditor_select: Add more editors to the auto-detect list
Alexander Barton [Fri, 15 Dec 2023 19:54:06 +0000 (20:54 +0100)]
editor_select: Add more editors to the auto-detect list

4 months agoeditor_select: Check the user preferences first!
Alexander Barton [Fri, 15 Dec 2023 19:53:37 +0000 (20:53 +0100)]
editor_select: Check the user preferences first!

4 months agoeditor_select: Validate an already set $EDITOR
Alexander Barton [Fri, 15 Dec 2023 19:49:14 +0000 (20:49 +0100)]
editor_select: Validate an already set $EDITOR

4 months ago2023 =:)
Alexander Barton [Sat, 9 Dec 2023 12:30:32 +0000 (13:30 +0100)]
2023 =:)

4 months agoaxzshctl: Add "help" and "version" to help text and completion config
Alexander Barton [Sat, 9 Dec 2023 12:30:18 +0000 (13:30 +0100)]
axzshctl: Add "help" and "version" to help text and completion config

4 months agoaxzshctl: Enhance "version" information, show prefix & theme
Alexander Barton [Sat, 9 Dec 2023 12:29:30 +0000 (13:29 +0100)]
axzshctl: Enhance "version" information, show prefix & theme

4 months ago30_env: Make sure the default environment is always set
Alexander Barton [Fri, 8 Dec 2023 16:43:06 +0000 (17:43 +0100)]
30_env: Make sure the default environment is always set

Now the default environment is set up in non-login shells by including
the "30_env.ax-io" code, too, if some of the standard variables are not
set or invalid.

4 months agoneofetch: Get rid of the axzsh_neofetch() function
Alexander Barton [Fri, 8 Dec 2023 16:38:25 +0000 (17:38 +0100)]
neofetch: Get rid of the axzsh_neofetch() function

4 months agoneofetch: Don't configure fastfetch/neofetch, use defaults
Alexander Barton [Fri, 8 Dec 2023 13:13:06 +0000 (14:13 +0100)]
neofetch: Don't configure fastfetch/neofetch, use defaults

This way it is easier for the user to just provide a configuration file
with the settings he likes.

4 months agostd_aliases: Add some "global" and "suffix" aliases
Alexander Barton [Sun, 26 Nov 2023 12:20:50 +0000 (13:20 +0100)]
std_aliases: Add some "global" and "suffix" aliases

Some of the global aliases are compatible to the ones defined by the
OhMyZsh plugin "common-aliases".

4 months agoAdd "gloo" alias showing logs since "ORIG_HEAD"
Alexander Barton [Wed, 22 Nov 2023 13:47:12 +0000 (14:47 +0100)]
Add "gloo" alias showing logs since "ORIG_HEAD"

9 months ago30_path: No longer look for Homebrew
Alexander Barton [Tue, 20 Jun 2023 15:26:47 +0000 (17:26 +0200)]
30_path: No longer look for Homebrew

Use the "homebrew" plugin instead, which will setup the environment
itself -- and setting the PATH here effectively prevents the plugin from
doing it properly (because "brew shellenv" will become a no-op)!

9 months agohomebrew: No longer provide a "brew" wrapper function
Alexander Barton [Tue, 20 Jun 2023 15:24:22 +0000 (17:24 +0200)]
homebrew: No longer provide a "brew" wrapper function

Don't provide a "brew" wrapper shell function (which was not available
for other commands), look for the "real" brew command instead and use it
with the "shellenv" subcommand to properly setup the environment.

This reverts c27ca78.

10 months agohomebrew: SHow command info for no args, "doctor" and "dr" sub-commands
Alexander Barton [Wed, 24 May 2023 10:13:46 +0000 (12:13 +0200)]
homebrew: SHow command info for no args, "doctor" and "dr" sub-commands

10 months agohomebrew: Always run "brew shellenv" when changing user identity
Alexander Barton [Wed, 24 May 2023 10:12:53 +0000 (12:12 +0200)]
homebrew: Always run "brew shellenv" when changing user identity

And clean up error exit codes.

10 months agohomebrew: Enhance code, no functional changes
Alexander Barton [Wed, 24 May 2023 10:11:18 +0000 (12:11 +0200)]
homebrew: Enhance code, no functional changes

10 months ago40_completion: Call "compinit -u" when "ZSH_DISABLE_COMPFIX" is set
Alexander Barton [Wed, 24 May 2023 10:06:28 +0000 (12:06 +0200)]
40_completion: Call "compinit -u" when "ZSH_DISABLE_COMPFIX" is set

This disables the check for "insecure directories" of the "compinit"
function.

12 months agoneofetch: Add support for fastfetch(1)
Alexander Barton [Fri, 14 Apr 2023 11:35:54 +0000 (13:35 +0200)]
neofetch: Add support for fastfetch(1)

15 months agoaxttyinfo: Tweak the tool a bit :-) github/master
Alexander Barton [Sun, 25 Dec 2022 13:35:05 +0000 (14:35 +0100)]
axttyinfo: Tweak the tool a bit :-)

- Show the terminal program and its version
- Show way more environment variables and enhance formatting
- Implement "one line" (-1) mode

15 months agostd_env: Don't set REPORTTIME in Warp terminal
Alexander Barton [Sun, 25 Dec 2022 13:33:53 +0000 (14:33 +0100)]
std_env: Don't set REPORTTIME in Warp terminal

The Warp terminal does this on its own.

16 months agoLook for configuration files in $ZDOTDIR
Alexander Barton [Sun, 11 Dec 2022 14:36:25 +0000 (15:36 +0100)]
Look for configuration files in $ZDOTDIR

This allows you to set/override the ZDOTDIR environment variable in your
~/.zshenv file to have different "sets" of AX-ZSH configurations in
different ZDOTDIR folders. For example, for different terminal emulator
applications, system architectures or hosts.

If ZDOTDIR is not set, $HOME is used (so no functional changes when the
ZDOTDIR environment variable is not set).

16 months ago"Expand" all alias definitions
Alexander Barton [Sun, 27 Nov 2022 15:37:04 +0000 (16:37 +0100)]
"Expand" all alias definitions

This makes it more obvious, what the alias is about, and makes the the
"olets/zsh-abbr" extension more useful, for example.

16 months agogit: Add some more OhMyZsh-compatible aliases
Alexander Barton [Sun, 27 Nov 2022 12:18:57 +0000 (13:18 +0100)]
git: Add some more OhMyZsh-compatible aliases

17 months agobrowser_select: Do not use open(1) on Linux to prevent endless recursion
Alexander Barton [Mon, 17 Oct 2022 14:37:53 +0000 (16:37 +0200)]
browser_select: Do not use open(1) on Linux to prevent endless recursion

18 months agohomebrew: brew() function: Test permissions on the repository
Alexander Barton [Wed, 21 Sep 2022 21:19:09 +0000 (23:19 +0200)]
homebrew: brew() function: Test permissions on the repository

Don't test it on the "prefix", because permissions on this directory can be
more restrictive (which could be fine ...).

18 months ago30_env.ax-io: Try to be even more clever when setting TMPDIR
Alexander Barton [Wed, 21 Sep 2022 17:38:06 +0000 (19:38 +0200)]
30_env.ax-io: Try to be even more clever when setting TMPDIR

Silently use the "runtime directory" of the user, when this is set already.

And if not, make sure to not use "/" but fallback to "/tmp" when the mktemp(1)
command failed for example.

18 months agoStreamline the installation instructions a bit
Alexander Barton [Mon, 19 Sep 2022 19:49:06 +0000 (21:49 +0200)]
Streamline the installation instructions a bit

- Restructure some paragraphs and
- introduce new "Post-Installation Tasks" section.
- Remove redundancies.
- Add note on "per-user installation".

19 months agohomebrew: stat(1) is not protable! Use ls(1) and awk(1) ...
Alexander Barton [Sat, 27 Aug 2022 16:05:40 +0000 (18:05 +0200)]
homebrew: stat(1) is not protable! Use ls(1) and awk(1) ...

19 months agohomebrew: Add a wrapper function for the brew(1) command
Alexander Barton [Sat, 27 Aug 2022 15:41:11 +0000 (17:41 +0200)]
homebrew: Add a wrapper function for the brew(1) command

This wrapper function for the `brew`(1) command does the following:

- Detect the location of the "real" brew(1) command.
- Change user and group when the Homebrew installation is owned by a different
  user (to preserve sane file permissions).
- Set a relaxed umask(1) so that other users can use software installed by
  Homebrew.
- Call the "real" `brew`(1) command.

22 months agostd_aliases: Add new "lx" alias for "ls -A"
Alexander Barton [Sun, 29 May 2022 10:51:11 +0000 (12:51 +0200)]
std_aliases: Add new "lx" alias for "ls -A"

23 months agolsd: Don't use long options in the ls(1) alias
Alexander Barton [Sat, 14 May 2022 11:25:32 +0000 (13:25 +0200)]
lsd: Don't use long options in the ls(1) alias

Both the "--date" and "--group-dirs" options are "nice", and I'd like to
set them here, but it looks like long options break the file name
completion logic: when a long option is present, you can't tab-complete
any file or folder name any more, which is _really_ annoying!

So remove those options again (for now)!?

If you wan't to use long options, like the ones removed now here, you
can use a configuration file in ~/.config/lsd/config.yaml, for example.

23 months agoNew "lsd" plugin
Alexander Barton [Sat, 14 May 2022 11:11:32 +0000 (13:11 +0200)]
New "lsd" plugin

23 months agoNew "bat" plugin
Alexander Barton [Sun, 1 May 2022 13:51:41 +0000 (15:51 +0200)]
New "bat" plugin

2 years agoFix markdownling warning MD049: Emphasis style should be consistent
Alexander Barton [Thu, 7 Apr 2022 21:03:59 +0000 (23:03 +0200)]
Fix markdownling warning MD049: Emphasis style should be consistent

2 years agoUpdate copyright notices for 2022 :-)
Alexander Barton [Thu, 7 Apr 2022 20:56:40 +0000 (22:56 +0200)]
Update copyright notices for 2022 :-)

2 years agostd_functions: Make open_command() work on Linux without X11 running
Alexander Barton [Fri, 4 Feb 2022 22:06:56 +0000 (23:06 +0100)]
std_functions: Make open_command() work on Linux without X11 running

2 years agoNew "websearch" plugin
Alexander Barton [Fri, 4 Feb 2022 21:58:38 +0000 (22:58 +0100)]
New "websearch" plugin

2 years agostd_functions: Fix return code of open_command()
Alexander Barton [Fri, 4 Feb 2022 21:48:36 +0000 (22:48 +0100)]
std_functions: Fix return code of open_command()

2 years agoWrite an initial PATH variable to the "ax-io" cache file
Alexander Barton [Tue, 1 Feb 2022 20:19:29 +0000 (21:19 +0100)]
Write an initial PATH variable to the "ax-io" cache file

This initial PATH  becomes overwritten by the path plugin at the
"zprofile" stage later on, but this way "ax-io" stage plugins have a
somewhat saner PATH to begin with ...

2 years agoSimplify error checking on cache file creation
Alexander Barton [Tue, 1 Feb 2022 20:17:03 +0000 (21:17 +0100)]
Simplify error checking on cache file creation

Just try to write to the cache file without testing first. And the
"cache_file" variable can never be empty, see code above!

2 years agoDisable Powerlevel9k "instant prompt" warnings in debug mode
Alexander Barton [Tue, 1 Feb 2022 20:15:01 +0000 (21:15 +0100)]
Disable Powerlevel9k "instant prompt" warnings in debug mode

2 years ago30_path: Fix file name in header
Alexander Barton [Tue, 1 Feb 2022 20:13:11 +0000 (21:13 +0100)]
30_path: Fix file name in header

2 years agoaxzshctl: Be verbose for "axzshctl update-caches" in debug mode
Alexander Barton [Tue, 1 Feb 2022 20:12:33 +0000 (21:12 +0100)]
axzshctl: Be verbose for "axzshctl update-caches" in debug mode

2 years agobyebye: Be silent in "check mode"
Alexander Barton [Tue, 1 Feb 2022 20:11:55 +0000 (21:11 +0100)]
byebye: Be silent in "check mode"

2 years agoGit: Ignore the "debug"-mode trigger file
Alexander Barton [Tue, 1 Feb 2022 19:22:38 +0000 (20:22 +0100)]
Git: Ignore the "debug"-mode trigger file

2 years agoless: Hide "ps: stdin: not a terminal" when using lesspipe.sh
Alexander Barton [Sat, 22 Jan 2022 12:57:59 +0000 (13:57 +0100)]
less: Hide "ps: stdin: not a terminal" when using lesspipe.sh

2 years agoaxttyinfo: Show COLORTERM when set
Alexander Barton [Fri, 21 Jan 2022 17:41:57 +0000 (18:41 +0100)]
axttyinfo: Show COLORTERM when set

2 years agoaxttyinfo: Show LANG only when actually set
Alexander Barton [Fri, 21 Jan 2022 17:41:45 +0000 (18:41 +0100)]
axttyinfo: Show LANG only when actually set

2 years agoaxemoji: Show host name in root prompts
Alexander Barton [Tue, 28 Dec 2021 16:40:44 +0000 (17:40 +0100)]
axemoji: Show host name in root prompts

2 years agoRefactor "root prompt" handling, don't show root "logname" by default
Alexander Barton [Tue, 28 Dec 2021 16:40:08 +0000 (17:40 +0100)]
Refactor "root prompt" handling, don't show root "logname" by default

But still enable it for the axemoji theme, so no functional changes.

2 years agoRevert 'Set "path" and "manpath" as "unique" type (-U), too!'
Alexander Barton [Tue, 28 Dec 2021 14:25:00 +0000 (15:25 +0100)]
Revert 'Set "path" and "manpath" as "unique" type (-U), too!'

When setting "path" to unique, PATH becomes reset on some systems? Hm??
So don't do it ...

This reverts commit 25cf1cc8c8c30f0162e551d6fdfdd84212b24395.

2 years agoaxzshctl: Show hint how to restart the shell when enabling AX-ZSH
Alexander Barton [Tue, 28 Dec 2021 14:00:17 +0000 (15:00 +0100)]
axzshctl: Show hint how to restart the shell when enabling AX-ZSH

2 years agoaxzshctl wrapper: Clean up the environment when disabling AX-ZSH
Alexander Barton [Tue, 28 Dec 2021 13:59:59 +0000 (14:59 +0100)]
axzshctl wrapper: Clean up the environment when disabling AX-ZSH

2 years agoFix PATH environment after plugins ran
Alexander Barton [Tue, 28 Dec 2021 13:15:09 +0000 (14:15 +0100)]
Fix PATH environment after plugins ran

This is especially important to keep the desired search order in place
when other plugins appended/prepended paths.

2 years agoSet "path" and "manpath" as "unique" type (-U), too!
Alexander Barton [Tue, 28 Dec 2021 13:14:01 +0000 (14:14 +0100)]
Set "path" and "manpath" as "unique" type (-U), too!

2 years agoFix core plugin numbering
Alexander Barton [Tue, 28 Dec 2021 12:47:45 +0000 (13:47 +0100)]
Fix core plugin numbering

[0-4]*: Runs pre-plugins
[5-9]*: Runs post-plugins

2 years agoRefactoring: Always use "[[" (instead of "[")
Alexander Barton [Wed, 15 Dec 2021 10:31:12 +0000 (11:31 +0100)]
Refactoring: Always use "[[" (instead of "[")

No functional changes.

2 years ago12_locale: Some minor tweaks and refactoring
Alexander Barton [Wed, 15 Dec 2021 10:12:39 +0000 (11:12 +0100)]
12_locale: Some minor tweaks and refactoring

- Regular expressions aren't anchored, no .* needed at the beginning/end
- fgrep is "non standard", so use "grep -F"
- Quote unknown locale name in message ...
- And use "raw mode" (-r) for read.

2 years agohomebrew: Make sure brew(1) command actually works
Alexander Barton [Mon, 13 Dec 2021 10:00:02 +0000 (11:00 +0100)]
homebrew: Make sure brew(1) command actually works

There are wrapper scripts out there -- at least my own ;-) -- which
are available even on systems where no "real" brew is available, and
therefore this wrapper errors our when called. So not only check for
brew's existence, but if it is working when checking for plugins.

2 years agofzf: Update plugin to work on Fedora 35
Alexander Barton [Fri, 10 Dec 2021 22:18:23 +0000 (23:18 +0100)]
fzf: Update plugin to work on Fedora 35

2 years agoREADME.md: Add "integration with other projects" section
Alexander Barton [Fri, 10 Dec 2021 20:54:33 +0000 (21:54 +0100)]
README.md: Add "integration with other projects" section

And mention Powerlevel10k support!

2 years agoREADME.md: Reformat the file a bit
Alexander Barton [Fri, 10 Dec 2021 20:53:52 +0000 (21:53 +0100)]
README.md: Reformat the file a bit

- Add more links, as references at the end of the document.
- Add link to our own GitHub "homepage".
- Emphasis that you really should use Git to install AX-ZSH!
- Fix link to zdharma-continuum/fast-syntax-highlighting

2 years ago2021. Still ... ;)
Alexander Barton [Thu, 9 Dec 2021 21:28:45 +0000 (22:28 +0100)]
2021. Still ... ;)

2 years agohomebrew: Fix detection of Homebrew command completions
Alexander Barton [Wed, 8 Dec 2021 21:10:26 +0000 (22:10 +0100)]
homebrew: Fix detection of Homebrew command completions

2 years agoneofetch: Implement axzsh_neofetch() function
Alexander Barton [Sat, 4 Dec 2021 13:01:02 +0000 (14:01 +0100)]
neofetch: Implement axzsh_neofetch() function

This function can be used to call neofetch(1) exactly as the plugin does.

2 years agoEnhance handling of the Homebrew environment
Alexander Barton [Sat, 4 Dec 2021 12:57:41 +0000 (13:57 +0100)]
Enhance handling of the Homebrew environment

- Call "brew shellenv" to set all relevant environment variables,
- and use "$HOMEBREW_PREFIX" when looking for installed files.

2 years agoRefactoring: Use "axzsh_" prefix (instead of "ax_") for all functions & variables
Alexander Barton [Sat, 4 Dec 2021 12:37:17 +0000 (13:37 +0100)]
Refactoring: Use "axzsh_" prefix (instead of "ax_") for all functions & variables

New function names:
- axzsh_hostname_prompt_root()
- axzsh_hostname_prompt_yn()
- axzsh_logname_prompt_root()
- axzsh_logname_prompt_yn()
- axzsh_plugin_fnc()
- axzsh_plugin_init()
- axzsh_prompt()
- axzsh_vcs_prompt()
- _axzsh_ssh_prompt()

New array names:
- axzsh_hostname_prompt_functions
- axzsh_logname_prompt_functions
- axzsh_vcs_prompt_functions

2 years agostd_functions: Add (very simple) "open" function
Alexander Barton [Wed, 25 Aug 2021 14:05:17 +0000 (16:05 +0200)]
std_functions: Add (very simple) "open" function

Right now, this supports macOS (Darwin), Cygwin and Linux.

2 years ago40_path: Add Go and Cargo bin paths to $PATH when they exist
Alexander Barton [Sat, 24 Jul 2021 11:33:33 +0000 (13:33 +0200)]
40_path: Add Go and Cargo bin paths to $PATH when they exist

2 years agogit: Add "gsta" and "gstp" aliases for Git stash push/pop
Alexander Barton [Sat, 24 Jul 2021 11:24:26 +0000 (13:24 +0200)]
git: Add "gsta" and "gstp" aliases for Git stash push/pop

2 years ago30_env.ax-io: Try to use a user-specific subfolder when TMPDIR is not set
Alexander Barton [Mon, 5 Jul 2021 20:01:13 +0000 (22:01 +0200)]
30_env.ax-io: Try to use a user-specific subfolder when TMPDIR is not set

2 years agogit: Bring aliases in line with OhMyZsh (and extend our list!)
Alexander Barton [Tue, 1 Jun 2021 13:00:41 +0000 (15:00 +0200)]
git: Bring aliases in line with OhMyZsh (and extend our list!)

Changed:
* gc: Add "--verbose"
* gd: Remove "--patch-with-stat"
* gst: Use default format

Removed:
* gdc: Deprecated in OhMyZsh ...

New:
* g
* gapa
* gdca
* gdcw
* gdw
* gf
* gfa
* gl
* gp
* gsb
* gsh
* gss

2 years agoaxzshctl: Allow dashes in OhMyZsh plugin names
Alexander Barton [Fri, 30 Apr 2021 11:26:29 +0000 (13:26 +0200)]
axzshctl: Allow dashes in OhMyZsh plugin names

2 years agoGreatly enhance the README.md file
Alexander Barton [Fri, 30 Apr 2021 11:10:57 +0000 (13:10 +0200)]
Greatly enhance the README.md file

2 years agoAdd support for remote OhMyZsh plugins
Alexander Barton [Fri, 30 Apr 2021 11:03:19 +0000 (13:03 +0200)]
Add support for remote OhMyZsh plugins

OhMyZsh plugins are referenced by an "@ohmyzsh/<name>" identifier, and
the OhMyZsh source tree is cloned with Git as needed.

2 years agostd_aliases: Use "last -aw" for "lastf" and "lasth" aliases
Alexander Barton [Fri, 30 Apr 2021 11:02:28 +0000 (13:02 +0200)]
std_aliases: Use "last -aw" for "lastf" and "lasth" aliases

2 years agoaxzshctl: Fix syntax of "set-theme" in help output
Alexander Barton [Fri, 30 Apr 2021 10:58:35 +0000 (12:58 +0200)]
axzshctl: Fix syntax of "set-theme" in help output

2 years agoinstall.sh: Correctly report an error when "zsh" is not found
Alexander Barton [Fri, 30 Apr 2021 10:57:30 +0000 (12:57 +0200)]
install.sh: Correctly report an error when "zsh" is not found

3 years agofzf: Newer Debian/Ubuntu packages use a different folder layout
Alexander Barton [Thu, 8 Apr 2021 08:58:32 +0000 (10:58 +0200)]
fzf: Newer Debian/Ubuntu packages use a different folder layout

3 years agogoogler: Use "g0" alias to not clash with OhMyZsh "g" alias for "git"
Alexander Barton [Fri, 2 Apr 2021 18:33:57 +0000 (20:33 +0200)]
googler: Use "g0" alias to not clash with OhMyZsh "g" alias for "git"

3 years agoaxzshctl: Validate plugin names in EnablePlugin()
Alexander Barton [Mon, 29 Mar 2021 17:49:48 +0000 (19:49 +0200)]
axzshctl: Validate plugin names in EnablePlugin()

3 years agoax.zsh: Put new cache files in place only after they are complete
Alexander Barton [Mon, 29 Mar 2021 17:48:29 +0000 (19:48 +0200)]
ax.zsh: Put new cache files in place only after they are complete

3 years agoax.zsh: Don't call mkdir(1) unconditionally
Alexander Barton [Mon, 29 Mar 2021 17:46:32 +0000 (19:46 +0200)]
ax.zsh: Don't call mkdir(1) unconditionally

3 years agoax.zsh: Fix comment, output is only allowed in "ax-io" stage!
Alexander Barton [Mon, 29 Mar 2021 17:46:24 +0000 (19:46 +0200)]
ax.zsh: Fix comment, output is only allowed in "ax-io" stage!

3 years agoaxzshctl: Only auto-complete enabled plugins on "disable-plugin" subcommand
Alexander Barton [Mon, 29 Mar 2021 17:43:40 +0000 (19:43 +0200)]
axzshctl: Only auto-complete enabled plugins on "disable-plugin" subcommand

3 years agoaxzshctl: Make UpdatePluginCache() less verbose by default
Alexander Barton [Tue, 23 Mar 2021 08:44:37 +0000 (09:44 +0100)]
axzshctl: Make UpdatePluginCache() less verbose by default

3 years agoaxzshctl: Delete ZSH cache folder on "update-caches", too
Alexander Barton [Mon, 22 Mar 2021 21:21:29 +0000 (22:21 +0100)]
axzshctl: Delete ZSH cache folder on "update-caches", too

3 years ago50_completion: Try to find all available completion functions
Alexander Barton [Mon, 22 Mar 2021 21:20:09 +0000 (22:20 +0100)]
50_completion: Try to find all available completion functions

Try to add all folders possibly containing completion functions to the
fpath before calling compinit. See <https://github.com/ohmyzsh/ohmyzsh/issues/4614>
for a discussion of this topic, for example. It boils down to:

1. We have to call compinit early,
2. but plugins can add completions later, that won't be found ...