]> arthur.barton.de Git - ax-zsh.git/log
ax-zsh.git
3 years ago12_locale: Enhance matching of Linux systems
Alexander Barton [Sat, 6 Jun 2020 18:47:22 +0000 (20:47 +0200)]
12_locale: Enhance matching of Linux systems

The OSTYPE is "linux-gnu" on AMD64, but it is "linux-gnueabihf" on the
RaspberryPi, for example. So use a regular expression and match for
"^linux-gnu" ...

3 years agoaxzshctl: Look harder for themes in remote modules
Alexander Barton [Sun, 24 May 2020 19:57:56 +0000 (21:57 +0200)]
axzshctl: Look harder for themes in remote modules

3 years agoaxzshctl: Use the enhanced test function of zsh
Alexander Barton [Sun, 24 May 2020 19:27:30 +0000 (21:27 +0200)]
axzshctl: Use the enhanced test function of zsh

3 years agoNew "travis" plugin
Alexander Barton [Sun, 24 May 2020 19:13:05 +0000 (21:13 +0200)]
New "travis" plugin

3 years agoNew "hstr" plugin
Alexander Barton [Wed, 22 Apr 2020 09:23:34 +0000 (11:23 +0200)]
New "hstr" plugin

3 years agoinstall.sh: Fix some shellcheck(1) warnings, update ax-common.sh code
Alexander Barton [Wed, 22 Apr 2020 09:23:10 +0000 (11:23 +0200)]
install.sh: Fix some shellcheck(1) warnings, update ax-common.sh code

4 years agoNew "fzy" plugin
Alexander Barton [Sun, 29 Mar 2020 23:19:28 +0000 (01:19 +0200)]
New "fzy" plugin

4 years agostd_aliases: Remove "0", quite useless
Alexander Barton [Sat, 21 Mar 2020 18:05:47 +0000 (19:05 +0100)]
std_aliases: Remove "0", quite useless

4 years agoFix axzsh_is_widechar_terminal() logic
Alexander Barton [Sat, 21 Mar 2020 13:14:19 +0000 (14:14 +0100)]
Fix axzsh_is_widechar_terminal() logic

axzsh_is_widechar_terminal() returns 0 when the terminal CAN'T display
wiede characters in multiple columns, and non-null, when the terminal
CAN display wide characters.

Fix themes accordingly.

4 years agoaxemoji: Use nicer emoji for righthand error notice
Alexander Barton [Sat, 21 Mar 2020 13:07:35 +0000 (14:07 +0100)]
axemoji: Use nicer emoji for righthand error notice

4 years agoKeep $AXZSH variable in axttyinfo alias
Alexander Barton [Sat, 21 Mar 2020 13:06:43 +0000 (14:06 +0100)]
Keep $AXZSH variable in axttyinfo alias

4 years agoaxzshctl: Don't use verbose mode for file operations (ln, rm)
Alexander Barton [Sat, 15 Feb 2020 16:40:29 +0000 (17:40 +0100)]
axzshctl: Don't use verbose mode for file operations (ln, rm)

4 years agoaxzshctl: Don't show title for "UpdatePluginCache" when called internally
Alexander Barton [Sat, 15 Feb 2020 16:39:12 +0000 (17:39 +0100)]
axzshctl: Don't show title for "UpdatePluginCache" when called internally

4 years agoaxzshctl: Streamline messages on "enable-plugin"
Alexander Barton [Sat, 15 Feb 2020 16:37:52 +0000 (17:37 +0100)]
axzshctl: Streamline messages on "enable-plugin"

Show "success" messages in green (not in yellow, as warning), and show
it for both themes and plugins.

4 years agoaxzshctl: Handle themes on "disable-plugin" & clean up repositories
Alexander Barton [Sat, 15 Feb 2020 16:34:15 +0000 (17:34 +0100)]
axzshctl: Handle themes on "disable-plugin" & clean up repositories

handle plugins providing a theme, and try to remove cloned repositories
not only when disabling a plugin succeeded, but always.

4 years agofzf: Look in BSD-specific paths, too!
Alexander Barton [Fri, 7 Feb 2020 19:30:54 +0000 (20:30 +0100)]
fzf: Look in BSD-specific paths, too!

4 years agoaxzshctl: Implement "--help" option, and ehnance error handling
Alexander Barton [Tue, 31 Dec 2019 15:56:50 +0000 (16:56 +0100)]
axzshctl: Implement "--help" option, and ehnance error handling

Don't exit with an error code ("non-null") when the usage information
was requested with "--help", and write errors parsing the command line
to stderr and exit with code 2.

4 years agoaxzshctl: Use ax_error to show error messages
Alexander Barton [Tue, 31 Dec 2019 15:54:39 +0000 (16:54 +0100)]
axzshctl: Use ax_error to show error messages

This results in error messages to go to stderr.

In addition, suppress the "no theme found" warning message when trying
to enable a remote module as theme. This is expected when it is no
theme, so don't confuse the user.

4 years agoaxzshctl: Enhance completions, include cloned modules
Alexander Barton [Sat, 28 Dec 2019 22:40:41 +0000 (23:40 +0100)]
axzshctl: Enhance completions, include cloned modules

Use ZSH globbing instead of calling external commands (like ls, cut and
find), and include cloned repositories ("foreign modules") in the
completions, too.

4 years agoaxzshctl: Create shallow clones of remote modules
Alexander Barton [Sat, 28 Dec 2019 22:05:17 +0000 (23:05 +0100)]
axzshctl: Create shallow clones of remote modules

4 years agoaxzshctl: Enhance activation of "foreign" modules
Alexander Barton [Sat, 28 Dec 2019 21:59:48 +0000 (22:59 +0100)]
axzshctl: Enhance activation of "foreign" modules

- Name foreign code "modules", as we don't know yet if it provides a
  theme or a plugin.
- Don't enable it as a plugin when a theme is provided (in this case,
  enable it as a theme only).
- Check for a theme not only on initial cloning, but on all activations.

4 years agodocker-machine: Use and test for "default" machine
Alexander Barton [Sat, 7 Dec 2019 00:45:47 +0000 (01:45 +0100)]
docker-machine: Use and test for "default" machine

4 years agopdfman: Use completions for "man"
Alexander Barton [Sat, 30 Nov 2019 17:41:47 +0000 (18:41 +0100)]
pdfman: Use completions for "man"

4 years ago50_completion: Enhance completion styles
Alexander Barton [Sat, 30 Nov 2019 17:39:31 +0000 (18:39 +0100)]
50_completion: Enhance completion styles

- Enable _expand completer.
- Nicer messages using bold and colored text.
- Show secton numbers for manual pages.
- Ignore some more users.
- Set "single-ignored show".

4 years ago50_completion: Don't set complete_aliases
Alexander Barton [Sat, 2 Nov 2019 21:04:41 +0000 (22:04 +0100)]
50_completion: Don't set complete_aliases

We wan't to have completion for expaneded aliases, not for the alias
itself -- so don't set "complete_aliases"!

4 years ago50_completion: Enable group descriptions
Alexander Barton [Sat, 2 Nov 2019 20:55:24 +0000 (21:55 +0100)]
50_completion: Enable group descriptions

4 years agobash_completion: Define dummy function to suppress errors
Alexander Barton [Sat, 2 Nov 2019 20:53:30 +0000 (21:53 +0100)]
bash_completion: Define dummy function to suppress errors

Define a dummy _init_completion() function, which some bash-completion
scripts do call (for example fail2ban-client ...): this doesn't make the
completion usable, but suppresses error messages at least ...

4 years ago30_env: Test for and create missing directories
Alexander Barton [Sat, 2 Nov 2019 20:42:15 +0000 (21:42 +0100)]
30_env: Test for and create missing directories

Not only test if the variables are set, but create the directories when
missing, too!

4 years agoAdd new "bash_completion" plugin
Alexander Barton [Sat, 2 Nov 2019 15:51:19 +0000 (16:51 +0100)]
Add new "bash_completion" plugin

4 years agoRemove most "nocorrect" settings
Alexander Barton [Sat, 2 Nov 2019 15:50:18 +0000 (16:50 +0100)]
Remove most "nocorrect" settings

4 years agossh: Look for SSH "auth socket" in common locations
Alexander Barton [Thu, 5 Sep 2019 14:57:24 +0000 (16:57 +0200)]
ssh: Look for SSH "auth socket" in common locations

4 years ago11_terminal: "putty*" is a modern terminal
Alexander Barton [Wed, 21 Aug 2019 09:12:53 +0000 (11:12 +0200)]
11_terminal: "putty*" is a modern terminal

4 years ago11_terminal: Set "icon/tab title", not the "window" title
Alexander Barton [Thu, 1 Aug 2019 14:14:38 +0000 (16:14 +0200)]
11_terminal: Set "icon/tab title", not the "window" title

Don't set the "window title" at all (and reset it before showing the
new prompt), and set the "icon title" ("tab title") instead: this gives
a much better experience when using tabs in Terminal.app and iTerm2.app,
especially when mixing tabbed and non-tabbed windows.

4 years agoless: Disable "useful" hints of lesspipe(1)
Alexander Barton [Tue, 25 Jun 2019 14:40:52 +0000 (16:40 +0200)]
less: Disable "useful" hints of lesspipe(1)

See https://github.com/wofr06/lesspipe/issues/21.

4 years agossh_secure: "Nicer" quoting, add completion aliases
Alexander Barton [Tue, 28 May 2019 15:18:39 +0000 (17:18 +0200)]
ssh_secure: "Nicer" quoting, add completion aliases

4 years agoremind: Don't show error message when there is no "remind" file
Alexander Barton [Tue, 28 May 2019 15:16:49 +0000 (17:16 +0200)]
remind: Don't show error message when there is no "remind" file

4 years agoFix some warnings of "markdownlint"
Alexander Barton [Sun, 12 May 2019 22:37:02 +0000 (00:37 +0200)]
Fix some warnings of "markdownlint"

4 years agoeditor_select: Add support for "code", "mvim", "gvim"
Alexander Barton [Sun, 12 May 2019 22:15:45 +0000 (00:15 +0200)]
editor_select: Add support for "code", "mvim", "gvim"

4 years agoNew "python" plugin
Alexander Barton [Sun, 12 May 2019 21:53:53 +0000 (23:53 +0200)]
New "python" plugin

4 years agoNew "googler" plugin
Alexander Barton [Sun, 12 May 2019 21:46:26 +0000 (23:46 +0200)]
New "googler" plugin

4 years agoAdd new "nodejs" plugin
Alexander Barton [Thu, 25 Apr 2019 13:31:59 +0000 (15:31 +0200)]
Add new "nodejs" plugin

1. Create user-local NPM package directory ~/.npm-packages
2. Setup PATH and MANPATH to include NodeJS search paths

4 years agoless: Add support for lesspipe.sh
Alexander Barton [Thu, 25 Apr 2019 13:31:34 +0000 (15:31 +0200)]
less: Add support for lesspipe.sh

4 years agobuku: Don't set "--tacit" in "b" alias
Alexander Barton [Mon, 22 Apr 2019 21:09:58 +0000 (23:09 +0200)]
buku: Don't set "--tacit" in "b" alias

4 years agoplugins/README.md: Initial plugin documentation
Alexander Barton [Mon, 22 Apr 2019 15:46:57 +0000 (17:46 +0200)]
plugins/README.md: Initial plugin documentation

For now, only a few hints ...

4 years ago11_terminal: Fix & enhance initialization of FG, BG, FX arrays
Alexander Barton [Mon, 22 Apr 2019 15:45:57 +0000 (17:45 +0200)]
11_terminal: Fix & enhance initialization of FG, BG, FX arrays

This includes support for 16 colors as well as 256 colors.

Other fixes:
- Enhance documentation a little bit.
- Don't use raw ESC codes, use \e instead!
- Remove unneeded %{...%} escaping in spectrum_XXX() functions.

4 years agoFix handling of legacy terminal types
Alexander Barton [Mon, 22 Apr 2019 15:38:33 +0000 (17:38 +0200)]
Fix handling of legacy terminal types

Disable plugins/code requiring current terminal features not only on
"dumb" terminals, but on legacy ("not modern") terminals, too. This is
handled by using the axzsh_is_modern_terminal() function insetad of
axzsh_is_dumb_terminal().

And fix plugins to return 91 ("ignore") as result code in this case.

In addition, disable theming only on dumb terminals (as before), but
fall back to the standard "ax" theme on non-modern terminals, too!

4 years agoicalbuddy, remind: Don't show when "hush login" is active
Alexander Barton [Mon, 22 Apr 2019 11:44:22 +0000 (13:44 +0200)]
icalbuddy, remind: Don't show when "hush login" is active

5 years agoNew "mankier" plugin
Alexander Barton [Fri, 19 Apr 2019 16:52:59 +0000 (18:52 +0200)]
New "mankier" plugin

This sets up functions to use *ManKier*, a online manual page service:
<https://www.mankier.com/>

5 years agoNew "buku" plugin
Alexander Barton [Tue, 5 Mar 2019 22:23:35 +0000 (23:23 +0100)]
New "buku" plugin

5 years agoNew "trash" plugin (for macOS)
Alexander Barton [Tue, 5 Mar 2019 22:23:05 +0000 (23:23 +0100)]
New "trash" plugin (for macOS)

5 years agocorrection: Ignore dot files, don't offer them as a correction
Alexander Barton [Fri, 22 Feb 2019 21:14:23 +0000 (22:14 +0100)]
correction: Ignore dot files, don't offer them as a correction

5 years agoNew "command-not-found" plugin
Alexander Barton [Fri, 22 Feb 2019 21:08:29 +0000 (22:08 +0100)]
New "command-not-found" plugin

5 years agostd_aliases: No longer define ".." alias
Alexander Barton [Fri, 22 Feb 2019 20:44:57 +0000 (21:44 +0100)]
std_aliases: No longer define ".." alias

It is not needed, as we enable the "auto_cd" shell option.

5 years agocheat: Enhance plugin a bit
Alexander Barton [Fri, 22 Feb 2019 20:37:48 +0000 (21:37 +0100)]
cheat: Enhance plugin a bit

- Use cht.sh script, when available
- Use HTTPS (instead of plain HTTP)

5 years agostd_aliases: Add some aliases for fast directory changes
Alexander Barton [Wed, 6 Feb 2019 23:17:51 +0000 (00:17 +0100)]
std_aliases: Add some aliases for fast directory changes

5 years agovirtualenv: Add support for "pipenv"
Alexander Barton [Wed, 6 Feb 2019 22:42:42 +0000 (23:42 +0100)]
virtualenv: Add support for "pipenv"

5 years ago50_prompt: Move VCS prompt styling into VCS plugin
Alexander Barton [Tue, 5 Feb 2019 21:34:40 +0000 (22:34 +0100)]
50_prompt: Move VCS prompt styling into VCS plugin

This is required because some 3rd-party themes written for OhMyZsh call
git_prompt_info() directly, and don't use ax_vcs_prompt(), and therefore
havn't had their VCS prefix and postfix shown ...

5 years ago11_terminal: Introduce ${bg[defualt]} and $fg[default]
Alexander Barton [Tue, 5 Feb 2019 21:33:47 +0000 (22:33 +0100)]
11_terminal: Introduce ${bg[defualt]} and $fg[default]

And use it in 50_prompt which leads to better handling of foreground
and background colors modified for the prompt in a theme.

5 years agogit: Return prompt fragments only inside of a Git repository
Alexander Barton [Tue, 5 Feb 2019 21:32:38 +0000 (22:32 +0100)]
git: Return prompt fragments only inside of a Git repository

5 years agoThemes: Use "%B" only in combination with "%b"
Alexander Barton [Tue, 5 Feb 2019 21:26:39 +0000 (22:26 +0100)]
Themes: Use "%B" only in combination with "%b"

Don't mix "${fg_no_bold[]}", "%B", and "$reset_color". This can lead to
unexpected results and garbled output.

5 years agoinstall.sh: Make it safe to call it wgen ~/.axzsh is a symlink
Alexander Barton [Tue, 5 Feb 2019 19:28:27 +0000 (20:28 +0100)]
install.sh: Make it safe to call it wgen ~/.axzsh is a symlink

5 years ago99_cleanup: Map OhMyZSH theme variables to ax-zsh variants
Alexander Barton [Tue, 5 Feb 2019 19:18:51 +0000 (20:18 +0100)]
99_cleanup: Map OhMyZSH theme variables to ax-zsh variants

Basically this is ZSH_THEME_GIT_xxx => ZSH_THEME_VCS_PROMPT_xxx.

5 years ago50_prompt: Implement some common functions as "dummies"
Alexander Barton [Tue, 5 Feb 2019 19:15:12 +0000 (20:15 +0100)]
50_prompt: Implement some common functions as "dummies"

So now plugins and themes depending on those functions -- without
testing for them -- won't error our and/or issue lots of warning/error
messages.

Later on the actual ax-zsh plugins will override those dummies, when
enabled. See the "git" plugin, for example.

5 years agogit: Split git_prompt() into git_prompt_info() and git_prompt_status()
Alexander Barton [Tue, 5 Feb 2019 19:14:31 +0000 (20:14 +0100)]
git: Split git_prompt() into git_prompt_info() and git_prompt_status()

This is more in line to OhMyZsh, which some themes depend on.

5 years agoaxzshctl: No need to regenerate caches on theme change
Alexander Barton [Tue, 5 Feb 2019 19:13:13 +0000 (20:13 +0100)]
axzshctl: No need to regenerate caches on theme change

5 years agoRead in the theme before cleaning up ...
Alexander Barton [Sun, 3 Feb 2019 22:35:06 +0000 (23:35 +0100)]
Read in the theme before cleaning up ...

It was wrong to source the theme file last, because 99_cleanup undefines
some functions that can be used by themes -- even by the default theme!

5 years agoDon't include theme into the cache, only the "source" command
Alexander Barton [Sun, 3 Feb 2019 22:18:41 +0000 (23:18 +0100)]
Don't include theme into the cache, only the "source" command

This was the case earlier on, before moving this logic into ax.zsh,
and is required by some more complex themes like Powerlevel9k (that
fail to find/include some other resource file otherwise ...).

5 years agoaxzshctl: Look for themes in the "custom_themes" folder, too
Alexander Barton [Sun, 3 Feb 2019 21:52:53 +0000 (22:52 +0100)]
axzshctl: Look for themes in the "custom_themes" folder, too

And update the completion script accordingly.

5 years agoInclude the theme into the global context
Alexander Barton [Sun, 3 Feb 2019 21:51:49 +0000 (22:51 +0100)]
Include the theme into the global context

This is required by some (OhMyZsh) themes ...

5 years agogit: Add aliases for git_prompt_status
Alexander Barton [Sun, 3 Feb 2019 16:51:25 +0000 (17:51 +0100)]
git: Add aliases for git_prompt_status

This function is defined by OhMyZsh and used by some themes.

5 years agoImplement FG, BG and FX arrays, compatible to OhMyZsh & spectrum
Alexander Barton [Sun, 3 Feb 2019 16:50:07 +0000 (17:50 +0100)]
Implement FG, BG and FX arrays, compatible to OhMyZsh & spectrum

We already had a "fx" array, but this should be "FX" ...

5 years agoImplement axzshctl function, restarting the current shell
Alexander Barton [Sun, 3 Feb 2019 15:39:25 +0000 (16:39 +0100)]
Implement axzshctl function, restarting the current shell

The new axzshctl function, which shadows the axzshctl shell script,
tries to detect when there potentially were changes to the setup and
restarts the running shell in that case, bringing the new configuration
in effect immediately.

Now the user doesn't have to restart his shell manually any more.

5 years agoaxzshctl set-theme: Don't remove theme link first
Alexander Barton [Sun, 3 Feb 2019 15:36:47 +0000 (16:36 +0100)]
axzshctl set-theme: Don't remove theme link first

Force creating the symlink, overwriting a possibly already existing one.
This prevents us from having no theme link at all, if something goes
wrong ;-)

5 years agoax.zsh: Correctly ignore OhMyZSH "theme plugins"
Alexander Barton [Sun, 3 Feb 2019 15:35:45 +0000 (16:35 +0100)]
ax.zsh: Correctly ignore OhMyZSH "theme plugins"

5 years ago.gitignore: Ignore ".tags" files
Alexander Barton [Sun, 3 Feb 2019 15:34:47 +0000 (16:34 +0100)]
.gitignore: Ignore ".tags" files

5 years agogit: Add aliases for parse_git_dirty & git_prompt_info
Alexander Barton [Sun, 3 Feb 2019 13:33:25 +0000 (14:33 +0100)]
git: Add aliases for parse_git_dirty & git_prompt_info

Those functions are defined by OhMyZsh and used by some themes.

5 years agocheat: Don't shadow real command (if any), and use pagination
Alexander Barton [Sun, 3 Feb 2019 13:33:25 +0000 (14:33 +0100)]
cheat: Don't shadow real command (if any), and use pagination

5 years agoNew "gcc" plugin
Alexander Barton [Fri, 1 Feb 2019 08:44:11 +0000 (09:44 +0100)]
New "gcc" plugin

At the moment, this only enables colored compiler warning messages.

5 years ago40_path: Look for Linuxbrew
Alexander Barton [Sun, 9 Dec 2018 19:35:10 +0000 (20:35 +0100)]
40_path: Look for Linuxbrew

Look for Linuxbrew (http://linuxbrew.sh) and adjust PATH and MANPATH,
when found.

5 years ago20_home: PATH is handled in 40_path
Alexander Barton [Sun, 9 Dec 2018 19:34:06 +0000 (20:34 +0100)]
20_home: PATH is handled in 40_path

Remove duplicate code.

5 years agovirtualenv: Mark this plugin as "optional"
Alexander Barton [Sun, 4 Nov 2018 13:51:16 +0000 (14:51 +0100)]
virtualenv: Mark this plugin as "optional"

5 years agoRevert 'New "venv" plugin'
Alexander Barton [Sun, 4 Nov 2018 13:49:45 +0000 (14:49 +0100)]
Revert 'New "venv" plugin'

The "venv" plugin basically does the same than the "virtualenv" plugin,
but the latter searches more paths and has better documentation.

I must have been blind when adding this ...

This reverts commit f24d669e4c6014e9db8dc98a714d19f66ff1ba2d.

5 years agofzf: Update for new Debian package
Alexander Barton [Wed, 12 Sep 2018 14:09:35 +0000 (16:09 +0200)]
fzf: Update for new Debian package

5 years agoNew "venv" plugin
Alexander Barton [Tue, 28 Aug 2018 07:55:45 +0000 (09:55 +0200)]
New "venv" plugin

This can be used to activate Python "virtual venv environments", but
is basically language agnostic.

5 years agoNew "colormake" plugin
Alexander Barton [Tue, 28 Aug 2018 07:52:58 +0000 (09:52 +0200)]
New "colormake" plugin

5 years agoaxzshctl: Fix broken test for dumb terminals
Alexander Barton [Mon, 20 Aug 2018 12:44:20 +0000 (14:44 +0200)]
axzshctl: Fix broken test for dumb terminals

5 years agoNew "go" plugin
Alexander Barton [Tue, 7 Aug 2018 12:16:28 +0000 (14:16 +0200)]
New "go" plugin

5 years agoaxzshctl: Only rebuild cache when action succeeded
Alexander Barton [Mon, 23 Apr 2018 21:40:07 +0000 (23:40 +0200)]
axzshctl: Only rebuild cache when action succeeded

5 years agoNew "virtualenv" plugin
Alexander Barton [Mon, 23 Apr 2018 21:39:14 +0000 (23:39 +0200)]
New "virtualenv" plugin

6 years agoiterm2: Try to load user-local shell integration first
Alexander Barton [Tue, 13 Feb 2018 14:23:42 +0000 (15:23 +0100)]
iterm2: Try to load user-local shell integration first

And only fall back to ax-zsh included version when not found.

6 years ago10_keyboard: Add C-x,C-p shortcut for "push-line"
Alexander Barton [Tue, 13 Feb 2018 14:23:19 +0000 (15:23 +0100)]
10_keyboard: Add C-x,C-p shortcut for "push-line"

6 years agoEnhance support for remote plugins with embedded themes
Alexander Barton [Sun, 11 Feb 2018 10:12:23 +0000 (11:12 +0100)]
Enhance support for remote plugins with embedded themes

Enable a theme in a remote plugins automatically when cloning and
enabling the plugin itself, and add support to enable such themes
using the regular "axzshctl set-theme" command.

6 years agognupg: Suppress messages of "gpg-connect-agent"
Alexander Barton [Mon, 18 Dec 2017 13:15:09 +0000 (14:15 +0100)]
gnupg: Suppress messages of "gpg-connect-agent"

Otherwise, every startup outputs some ugly messages ...

6 years agoaxzshctl: Use internal ax_msg() on "dumb" terminals
Alexander Barton [Mon, 20 Nov 2017 23:32:47 +0000 (00:32 +0100)]
axzshctl: Use internal ax_msg() on "dumb" terminals

6 years agoDon't load themes and ext. plugins on "dumb" terminals
Alexander Barton [Mon, 20 Nov 2017 23:28:47 +0000 (00:28 +0100)]
Don't load themes and ext. plugins on "dumb" terminals

These external (and modern?) plugins most probably don't expect such an
unusual old terminal configuration and don't behave well (echo color
sequences, for example). Therefore we DON'T load any external plugins at
all when running on such a terminal: this results in reduced/disabled
functionality, but hopefully in readable output ...

And the same is true for any themes, included or external: we disable
them and fallback to an included very simple but sane default prompt.

6 years agognupg: Don't fiddle with gpg-agent that much
Alexander Barton [Mon, 30 Oct 2017 00:11:50 +0000 (01:11 +0100)]
gnupg: Don't fiddle with gpg-agent that much

This isn't necessary with GnuPG 2.1.x and newer.

6 years ago30_env: Make sure "TZ" is set, when possible
Alexander Barton [Sat, 7 Oct 2017 15:30:53 +0000 (17:30 +0200)]
30_env: Make sure "TZ" is set, when possible

6 years agogit: Update "git gd[c]" aliases to include patch statistics
Alexander Barton [Fri, 27 Oct 2017 18:41:10 +0000 (20:41 +0200)]
git: Update "git gd[c]" aliases to include patch statistics

6 years agocorrection: Ignore pgrep and pkill
Alexander Barton [Sat, 30 Sep 2017 20:27:11 +0000 (22:27 +0200)]
correction: Ignore pgrep and pkill

6 years agossh: Add "verbose" option to ssh-autoadd function
Alexander Barton [Sat, 30 Sep 2017 20:26:42 +0000 (22:26 +0200)]
ssh: Add "verbose" option to ssh-autoadd function