Commit graph

57 commits

Author SHA1 Message Date
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
2db37ccc1f zsh: setopt: refactor comments 2017-07-12 17:40:36 +02:00
30f65d385f zsh: setopt: decapitalize headers and remove trailing whitespaces 2017-07-12 17:22:10 +02:00
a4ad32fe10 zsh: general: output program runtime on exit if greater 60 2017-07-11 01:48:48 +02:00
8e51223d86 zsh: history: move relevant setopts into history.zsh
Also don't share history between terminals instantly.
2017-07-10 03:00:17 +02:00
7c64d5a801 zsh: history: add improved history search functionality 2017-07-10 02:57:48 +02:00
f5bb986514 zsh: history: refactor comment + increase history size 2017-07-10 02:56:30 +02:00
2b7107a84a zsh: prompt: complete internal redesign + improvements
The prompt now no longer requires "setopt promptsubst" and even has
a bit more functionality:
    - show exitcode if not equal zero
    - underlined hostname if remote-connected via ssh
    - extra prompt symbol for root and different color username
    - improved battery status (color + charge detection)

Furthermore time and username@hostname have been swapped.
2017-07-10 02:40:38 +02:00
cb93e83215 zsh: aliases: remove old sp-aliases and make valgrind alias 'global' 2017-07-09 17:56:41 +02:00