Commit graph

65 commits

Author SHA1 Message Date
c638a59499 zsh: completion.zsh: extend vim ignored-pattern to neovim 2022-03-22 15:24:58 +01:00
4a7a665edb zsh: use nvim instead of vim when available 2021-09-22 16:19:40 +02:00
76a42b6920 zsh: prompt.zsh: make entries with excessize permissions more readable 2021-08-22 23:28:07 +02:00
88c797807d extend PATH in pam_environment instead of zsh config
This way, the extended PATH variable is available for the whole
session and not just for the zsh session.
2021-01-22 00:45:30 +01:00
72dda7fe9a zsh: aliases.zsh: make mv interactive to prevent accidental overwrites 2020-10-16 18:21:49 +02:00
57fa1af803 zsh: aliases.zsh: make cp interactive to prevent accidental overwriting of files 2019-09-24 16:35:59 +02:00
151032b726 zsh: prompt.zsh: fix rprompt indent
Various shells apparently do not support ZLE_RPROMPT_IDENT=0 properly
and shift the cursor one to the left. As a result,
autocompleting leads to weird shifting of the user input and
'overlapping' text.
In order to fix this issue, it seems to be sufficient to set
ZLE_RPROMPT_INDENT=-1.

(see https://github.com/bhilburn/powerlevel9k/issues/110)
2019-05-22 16:19:31 +02:00
219bbaf74c zsh: exports.zsh: extend PATH by various standard paths 2019-05-22 16:18:33 +02:00
ed34cd12b9 zsh: completion.zsh: make katarakt command also autocomplete directories 2019-03-17 19:10:06 +01:00
188ef019f3 zsh: aliases.zsh: add extra grep alias and let less display color by default 2019-03-13 16:13:37 +01:00
c6b4c3f7b7 zsh: add multiplexer.zsh
Automatically reattach to existing terminal multiplexer session when
starting zsh and also create new terminal multiplexer session when
connected remotely using ssh.
2018-11-28 01:35:34 +01:00
80a1357651 zsh: aliases.zsh: make automake run in the background 2018-11-28 00:55:33 +01:00
42b1d05b64 zsh: aliases.zsh: add shortcuts for grep and less 2018-11-13 23:57:34 +01:00
9b4dfb5106 zsh: aliases.zsh: add global aliases for directory traversal
As of now you have to either use '...' or 'cd ../..' in order to move up
two directories. In order to also use 'cd ...' global aliases are
required which also allow expansion inside of commands.
2018-09-22 23:24:32 +02:00
72ee6ff8af zsh: completion.zsh: improve completion for katarakt 2018-07-29 01:13:22 +02:00
ad41a8e06d zsh: exports.zsh: set EDITOR to vim if available 2018-05-18 16:08:54 +02:00
202ebad614 zsh: aliases.zsh: remove colorcolumn in sp-vim 2018-05-18 15:59:12 +02:00
31e461fb38 zsh: prompt: only show percentage of the first battery available 2018-02-03 00:11:39 +01:00
a5f062b83f zsh: aliases: add shortcuts for often used commands 2017-11-24 15:13:14 +01:00
f7a6dddd7b zsh: aliases: make automake check recursively for file modifications 2017-10-14 16:12:25 +02:00
eab35022eb zsh: exports: extend PATH variable 2017-10-10 14:42:32 +02:00
c1a8e98d61 zsh: prompt: only set LS_COLORS if not using darwin nor bsd 2017-10-09 22:59:54 +02:00
0a2d9d9c6f zsh: remove obsolete checks.zsh 2017-10-09 22:42:12 +02:00
bd33ff52a3 zsh: merge colors.zsh into prompt.zsh 2017-10-09 22:38:28 +02:00
499bbaa823 zsh: aliases: add alias to automate make 2017-10-09 22:15:25 +02:00
c4807eebb4 zsh: aliases: fix aliases when using sudo 2017-10-09 21:31:26 +02:00
5b1954b5b2 zsh: completion: improve case insensitivity of approximate-completer 2017-10-09 21:12:41 +02:00
6182aeca25 zsh: prompt: display lightning symbol when charging battery 2017-10-09 21:12:41 +02:00
119f365424 zsh: prompt: use ZLE_RPROMPT_INDENT in tmux to fix prompt whitespaces 2017-10-09 21:12:41 +02:00
f91af0f79e zsh: aliases: add 'o' for xdg-open 2017-10-06 09:14:02 +02:00
88ed6d9d9b zsh: prompt: switch from ZLE_RPROMPT_INDENT=0 to %{ %} for bottom_right_suffix
Apparently ZLE_RPROMPT_INDENT is a bit buggy on several prompts (e.g.
iTerm2, virtual-terminal on linux, etc) since not only the most right
space is removed as intended, but also the cursor is moved on to the
right causing the last character of the prompt to be overwritten.
This causes completion to be rather weird (some characters are
drawn twice and some aren't at all).

Fix: Use %{ .. %} with ${bottom_right_suffix} to tell the terminal the
last symbols have a width of zero -> the most right space will be
overdrawn and thus not shown.
2017-08-02 14:25:59 +02:00
7f6ad5cbbb zsh: prompt: check for battery and improve detection of pcs with acpi 2017-07-26 16:51:31 +02:00
67a67f7988 zsh: prompt: fix battery display on computers without acpi 2017-07-16 13:23:27 +02:00
2e24e3e44a zsh: completion: add list-suffixes 2017-07-16 00:15:00 +02:00
c61a85a55c zsh: completion: add fallback for completion (^F) 2017-07-15 23:21:01 +02:00
457dca798c zsh: completion: add ignored-patterns for vim 2017-07-15 23:19:58 +02:00
c09504b28a zsh: completion: remove unnecessary completions (subscript) 2017-07-15 23:16:58 +02:00
2e7ec56427 zsh: completion: separate manpages by sections 2017-07-15 23:15:09 +02:00
65684fc3e3 zsh: completion: ignore completer functions and expand wildcards 2017-07-15 23:11:38 +02:00
fa3e4a9a28 zsh: completion: use default completion for ssh/scp 2017-07-15 23:03:08 +02:00
f8be2045f4 zsh: completion: make appearance more verbose and rearrange config 2017-07-15 23:01:42 +02:00
3de8370545 zsh: completion: only accept one mistake per 1 characters 2017-07-15 01:50:51 +02:00
9254a6137d zsh: completion: add _force_rehash completer 2017-07-15 01:47:58 +02:00
e56aaef60f zsh: completion: make <TAB> with empty input work like ls 2017-07-13 21:03:22 +02:00
1ef55abf90 zsh: completion: make cache options more generic 2017-07-13 20:19:25 +02:00
d900f34617 zsh: move completion setopts from setopt.zsh into completion.zsh 2017-07-13 20:07:05 +02:00
09816d9035 zsh: completion: remove vcs_info support from completion.zsh 2017-07-13 19:56:57 +02:00
0dd18575ca zsh: setopt: ignore EOFs, remove multi_io support 2017-07-12 18:38:15 +02:00
8beb935e98 zsh: add check for global variables (setopt warn_create_global) 2017-07-12 18:23:43 +02:00
5fdbfcbfb3 zsh: setopt: add directory stack setopts and remove cdablevars setopt 2017-07-12 17:50:27 +02:00