Commit Graph

92 Commits

Author SHA1 Message Date
cf8b4b8d7e
Zsh: replace $(id -u) with ${EUID}
Less subshells spawned.
2022-03-28 06:18:33 +02:00
bc23116aa8
Zsh: Fix some things 2022-03-28 06:14:46 +02:00
242c08722f
Zsh Re-add alias d (dirstack) 2022-03-28 05:52:13 +02:00
fb42d64bb8
zsh: Make standard completions a bit prettier 2022-03-28 05:51:56 +02:00
9cacdd0ce9
Zsh: Rename directory aliases -repo_<name>-dev → -devrepo_<name>
Turns out %~ can not look up the alias properly for -foo-bar if -foo is
defined. 😕
2022-03-28 05:23:26 +02:00
9d50a7a39d
Zsh: Reformat prompt functions, initialize async if it isn't 2022-03-28 05:13:42 +02:00
6fe56b659d
Zsh Only initialize async if it isn't already 2022-03-28 05:13:14 +02:00
e77b6dfdaf
Zsh: Add aliases for all enabled Gentoo repos, rename them
They are now named -repo_<name> and -repo_<name>-dev
2022-03-28 05:01:37 +02:00
be97bf28b4
Zsh: Clean up aliases 2022-03-28 03:56:52 +02:00
f5a84118ea
Migrate netgrep alias to ss 2022-03-28 03:45:30 +02:00
a455a255fb
Zsh: Make emacsclient truecolor hack more general 2022-03-27 00:50:36 +01:00
bfecb170c2
Zsh: Rename jobs_dir variable and make it local 2022-03-27 00:37:08 +01:00
245fba9192
Zsh: Test title setting termcap properly, reorder truecolor hacks 2022-03-27 00:11:34 +01:00
c94d93519a
Zsh: Remove old TrueColor workaround 2022-03-26 23:51:06 +01:00
9b4035393a
Zsh: Remove o-m-z variable, fix preexec terminal title
Can't get number of jobs from subshell, so we put them in a variable.
2022-03-26 23:38:10 +01:00
0c0beeb071
Zsh: Make fpath assignment safer 2022-03-26 18:21:00 +01:00
b91611f771
Set ZDOTDIR in ~/.zshenv 2022-03-26 18:19:25 +01:00
f70d5de54d
Add btrfs-snapshot-compare 2022-03-26 17:53:28 +01:00
23825215e5
Zsh: Improve completions
- Clean some oh-my-zsh variables
- Move completions to the top
- Re-add functionality from oh-my-zsh:
  - Hyphen- and case-insensitive, partial-word and substring completion
  - bashcompinit
2022-03-25 19:38:23 +01:00
4c8793e264
zsh: History fix final_fixed_FINAL (really, I swear 🤞) 2022-03-24 01:46:42 +01:00
869bf8933e
Fix hgrep alias 2022-03-24 01:26:10 +01:00
37a76f99b5
Zsh: Use fcntl for locking history file 2022-03-24 01:24:23 +01:00
51e4f9178f
Zsh: Fix history import again 2022-03-24 01:08:39 +01:00
6968e776dd
Simplify WORDCHARS modification 2022-03-24 00:36:00 +01:00
ff64f7c3a1
Remove _ from WORDCHARS 2022-03-24 00:32:51 +01:00
bb502cb8bb
zsh: fc -RI doesn't really work 2022-03-23 23:54:28 +01:00
7aec827be1
Turn on highlighting for zsh-history-substring-search 2022-03-23 23:41:37 +01:00
407391880b
Zsh: Rename hook functions, use add-zsh-hook
New format: _my_<name>_<hook>
2022-03-23 23:31:23 +01:00
6cac28b246
Zsh: Move history stuff higher, fix incremental history add
With calling fc -RI as preexec hook it should work. No, I don't know
why. 🤷
2022-03-23 23:29:37 +01:00
d6eb4e3090
Zsh: Add diff alais to make it output colors 2022-03-23 16:19:02 +01:00
c8dce951d6
Zsh: Make / not be part of words
makes backward-word and so on stop at /.
2022-03-23 14:34:53 +01:00
16c62ade60
Remove oh-my-zsh-ism (?) 2022-03-23 03:42:35 +01:00
240abe71e1
Zsh: Use fc-R instead of fc -RI
Not sure why that's needed.
2022-03-23 03:31:51 +01:00
8b3a3abfb7
Don't call fc -R -I automatically 2022-03-23 03:23:08 +01:00
388b3d349b
Zsh: Try recording run-time in history again
last time it borked. 🤞
2022-03-23 03:04:59 +01:00
7e5f7f58e7
Zsh: Print a message when installing plugins 2022-03-23 02:42:10 +01:00
0e381b7371
Zsh: Print a message when updating plugins 2022-03-23 02:41:00 +01:00
a9bae9ddd2
Remove now unneeded oh-my-zsh lib, set some options it set 2022-03-23 02:37:02 +01:00
cc55c54e6b
Zsh prompt: use $EUID instead if id 2022-03-23 01:52:26 +01:00
5902d4d020
zsh: export CATOPEN if highlight is found 2022-03-22 23:40:24 +01:00
77553ac29d
Add ~/.lessfilter 2022-03-22 23:36:12 +01:00
767ad1794a
Zsh: Prefer lesspipe over lesspipe.sh 2022-03-22 22:43:16 +01:00
800d6e4f94
Zsh: Preview arguments of cp and mv 2022-03-22 22:30:11 +01:00
377c9937ac
Remove old Zsh syntax highlighting theme 2022-03-22 20:19:55 +01:00
912c10c51a
Make prompt pinker and tmux more violet 2022-03-22 01:03:21 +01:00
f4f8db2359
Zsh: Add pygmentize and source-highlight as LESSOPEN candidates
Remove src-hilite-lesspipe.sh, it is a wrapper around source-highlight.
2022-03-22 01:00:14 +01:00
da67f29c6e
Fix export fpath 2022-03-21 19:34:45 +01:00
f2ac430995
Zsh: export fpath 2022-03-21 18:40:02 +01:00
5ad37b1396
Zsh: Use lesspipe.sh for LESSOPEN and lessp if it exists. 2022-03-21 12:04:25 +01:00
14ce8345e6
Zsh prompt: Add missing %f in VCS prompt, reformat a bit 2022-03-20 21:57:10 +01:00