1
0
Fork 0
Commit Graph

225 Commits

Author SHA1 Message Date
tastytea 00c7c2bc76
Remove cursor style from zsh syntax hl theme
It interacts weirdly with terminal defaults.
2022-04-03 22:05:19 +02:00
tastytea 9cefc87adf
die: Grab errorcode before doing anything else 2022-04-03 07:38:33 +02:00
tastytea 386fcc82bd
cat-highlight: Allow unset variables 2022-04-03 07:38:07 +02:00
tastytea 071d3e0e01
Only allow exactly 2 arguments in btrfs-snapshot-compare 2022-04-03 07:00:31 +02:00
tastytea e7bfbe250c
Zsh: Use die() in functions 2022-04-03 06:43:18 +02:00
tastytea 94d92ff080
Zsh: Remove - from WORDCHARS 2022-04-03 06:19:07 +02:00
tastytea 83ff053395
Zsh functions: set options for better error handling 2022-04-03 05:47:50 +02:00
tastytea cf620b0642
Zsh: die(): return instead of exit if interactive 2022-04-03 05:08:51 +02:00
tastytea ecc61cb747
Only set ALTERNATE_EDITOR to nano if nano is in PATH 2022-04-03 04:42:47 +02:00
tastytea 5e925e84a8
Zsh: Add function: die() 2022-04-03 04:40:51 +02:00
tastytea 64c12cd4cf
Zsh: Move fpath addition to .zshenv to have it available in scripts 2022-04-03 04:34:13 +02:00
tastytea e8490692b3
Zsh: Use more shell builtins for LC_TIME setting 2022-04-02 17:40:33 +02:00
tastytea d568b10ef8
LS_COLORS: Change config file colour to brown 2022-04-02 15:49:03 +02:00
tastytea 1d129818a8
Add .ex and .js to LS_COLORS 2022-04-02 00:09:04 +02:00
tastytea d3daa18cfb
Zsh: Silence echoti errors 2022-04-01 23:59:17 +02:00
tastytea e004081c5a
Zsh: Use more shell builtins, load modules explicitly 2022-04-01 23:30:25 +02:00
tastytea 6cff8a5713
Add functions to fpath in .zshrc 2022-04-01 21:01:32 +02:00
tastytea 4d44b03add
Set ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE to darker grey 2022-04-01 04:37:20 +02:00
tastytea dc33eb2aa1
Add .org to text files in LS_COLORS 2022-04-01 03:49:35 +02:00
tastytea 6404f6ce53
unset LS_COLORS before changing it 2022-04-01 03:49:14 +02:00
tastytea 23a3a2bf4d
LS_COLORS: Change includable color and make it italic 2022-04-01 03:48:58 +02:00
tastytea 93120ef0ff
Add stuff to LS_COLORS, change compressed to red, text to cyan 2022-04-01 03:30:00 +02:00
tastytea 05a3d13dba
Add modifier example for 256 colour mode to ansi-colours 2022-04-01 03:14:59 +02:00
tastytea ab7498a640
Add some stuff to LS_COLORS and comment it 2022-03-31 23:53:52 +02:00
tastytea 1489bda6ba
LS_COLORS: Don't specify color for compressed files 2022-03-31 23:37:11 +02:00
tastytea 24312b9cc9
Add more LS_COLORS 2022-03-31 23:20:40 +02:00
tastytea 7ffde81604
LS_COLORS: Change playlist color to green 2022-03-31 20:28:17 +02:00
tastytea c9f68da170
°Zsh: Add some LS_COLORS 2022-03-31 18:27:51 +02:00
tastytea b435cdc477
Zsh: Remove unnecessary escpape 2022-03-29 17:24:59 +02:00
tastytea a1b516beb5
Zsh: Fix WORDCHARS modification 2022-03-29 16:09:30 +02:00
tastytea e027467bf3
Zsh: Remove useless redirections in functions 2022-03-29 00:23:46 +02:00
tastytea 4202e0ac9c
Zsh: Fix always true comparison 2022-03-28 15:25:52 +02:00
tastytea 2cc6086cbb
Zsh: Rewrite plugin update mechanism 2022-03-28 06:51:55 +02:00
tastytea cf8b4b8d7e
Zsh: replace $(id -u) with ${EUID}
Less subshells spawned.
2022-03-28 06:18:33 +02:00
tastytea bc23116aa8
Zsh: Fix some things 2022-03-28 06:14:46 +02:00
tastytea 242c08722f
Zsh Re-add alias d (dirstack) 2022-03-28 05:52:13 +02:00
tastytea fb42d64bb8
zsh: Make standard completions a bit prettier 2022-03-28 05:51:56 +02:00
tastytea 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
tastytea 9d50a7a39d
Zsh: Reformat prompt functions, initialize async if it isn't 2022-03-28 05:13:42 +02:00
tastytea 6fe56b659d
Zsh Only initialize async if it isn't already 2022-03-28 05:13:14 +02:00
tastytea 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
tastytea be97bf28b4
Zsh: Clean up aliases 2022-03-28 03:56:52 +02:00
tastytea f5a84118ea
Migrate netgrep alias to ss 2022-03-28 03:45:30 +02:00
tastytea a455a255fb
Zsh: Make emacsclient truecolor hack more general 2022-03-27 00:50:36 +01:00
tastytea bfecb170c2
Zsh: Rename jobs_dir variable and make it local 2022-03-27 00:37:08 +01:00
tastytea 245fba9192
Zsh: Test title setting termcap properly, reorder truecolor hacks 2022-03-27 00:11:34 +01:00
tastytea c94d93519a
Zsh: Remove old TrueColor workaround 2022-03-26 23:51:06 +01:00
tastytea 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
tastytea 0c0beeb071
Zsh: Make fpath assignment safer 2022-03-26 18:21:00 +01:00
tastytea b91611f771
Set ZDOTDIR in ~/.zshenv 2022-03-26 18:19:25 +01:00
tastytea f70d5de54d
Add btrfs-snapshot-compare 2022-03-26 17:53:28 +01:00
tastytea 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
tastytea 4c8793e264
zsh: History fix final_fixed_FINAL (really, I swear 🤞) 2022-03-24 01:46:42 +01:00
tastytea 869bf8933e
Fix hgrep alias 2022-03-24 01:26:10 +01:00
tastytea 37a76f99b5
Zsh: Use fcntl for locking history file 2022-03-24 01:24:23 +01:00
tastytea 51e4f9178f
Zsh: Fix history import again 2022-03-24 01:08:39 +01:00
tastytea 6968e776dd
Simplify WORDCHARS modification 2022-03-24 00:36:00 +01:00
tastytea ff64f7c3a1
Remove _ from WORDCHARS 2022-03-24 00:32:51 +01:00
tastytea bb502cb8bb
zsh: fc -RI doesn't really work 2022-03-23 23:54:28 +01:00
tastytea 7aec827be1
Turn on highlighting for zsh-history-substring-search 2022-03-23 23:41:37 +01:00
tastytea 407391880b
Zsh: Rename hook functions, use add-zsh-hook
New format: _my_<name>_<hook>
2022-03-23 23:31:23 +01:00
tastytea 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
tastytea d6eb4e3090
Zsh: Add diff alais to make it output colors 2022-03-23 16:19:02 +01:00
tastytea c8dce951d6
Zsh: Make / not be part of words
makes backward-word and so on stop at /.
2022-03-23 14:34:53 +01:00
tastytea 16c62ade60
Remove oh-my-zsh-ism (?) 2022-03-23 03:42:35 +01:00
tastytea 240abe71e1
Zsh: Use fc-R instead of fc -RI
Not sure why that's needed.
2022-03-23 03:31:51 +01:00
tastytea 8b3a3abfb7
Don't call `fc -R -I` automatically 2022-03-23 03:23:08 +01:00
tastytea 388b3d349b
Zsh: Try recording run-time in history again
last time it borked. 🤞
2022-03-23 03:04:59 +01:00
tastytea 7e5f7f58e7
Zsh: Print a message when installing plugins 2022-03-23 02:42:10 +01:00
tastytea 0e381b7371
Zsh: Print a message when updating plugins 2022-03-23 02:41:00 +01:00
tastytea a9bae9ddd2
Remove now unneeded oh-my-zsh lib, set some options it set 2022-03-23 02:37:02 +01:00
tastytea cc55c54e6b
Zsh prompt: use $EUID instead if `id` 2022-03-23 01:52:26 +01:00
tastytea 5902d4d020
zsh: export CATOPEN if highlight is found 2022-03-22 23:40:24 +01:00
tastytea 77553ac29d
Add ~/.lessfilter 2022-03-22 23:36:12 +01:00
tastytea 767ad1794a
Zsh: Prefer lesspipe over lesspipe.sh 2022-03-22 22:43:16 +01:00
tastytea 800d6e4f94
Zsh: Preview arguments of cp and mv 2022-03-22 22:30:11 +01:00
tastytea 377c9937ac
Remove old Zsh syntax highlighting theme 2022-03-22 20:19:55 +01:00
tastytea 912c10c51a
Make prompt pinker and tmux more violet 2022-03-22 01:03:21 +01:00
tastytea 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
tastytea da67f29c6e
Fix export fpath 2022-03-21 19:34:45 +01:00
tastytea f2ac430995
Zsh: export fpath 2022-03-21 18:40:02 +01:00
tastytea 5ad37b1396
Zsh: Use lesspipe.sh for LESSOPEN and lessp if it exists. 2022-03-21 12:04:25 +01:00
tastytea 14ce8345e6
Zsh prompt: Add missing %f in VCS prompt, reformat a bit 2022-03-20 21:57:10 +01:00
tastytea ec93b23f8f
Remove useless check from Zsh themes 2022-03-20 21:44:53 +01:00
tastytea a8eb177896
Zsh: Make errors in unikitty-reversible theme less eye searing 2022-03-20 20:33:53 +01:00
tastytea 9806e16d44
Switch to base16/unikitty-reversible theme in less, cat and Zsh 2022-03-20 20:23:50 +01:00
tastytea afb0e5b370
Zsh: Add syntax highlighting theme unikitty-reversible 2022-03-20 20:20:01 +01:00
tastytea 28e04be330
Zsh: Remove syntax highlighting theme from prompt theme
Oops, forgot it earlier.
2022-03-20 16:41:17 +01:00
tastytea 139f3b9280
Zsh: Add workaround for 256 colour terminals 2022-03-20 16:40:20 +01:00
tastytea 586fd06b4d
Zsh: Split theme into prompt and syntax highlighting 2022-03-20 14:33:35 +01:00
tastytea 4e1fdfa87e
cat-highlight: Add support for CATOPEN; add example 2022-03-20 01:56:40 +01:00
tastytea a7a404fa92
cat-highlight: Don't try to use lesspipe 2022-03-20 00:26:38 +01:00
tastytea a649fd2f64
ansi-colours: Sort colors better if display is narrow 2022-03-19 14:15:40 +01:00
tastytea 25c887bd38
typo 2022-03-19 14:12:40 +01:00
tastytea 3c799ae129
ansi-color: Inform about the background option textually 2022-03-19 09:13:51 +01:00
tastytea df0c96d8bc
ansi-colours: : in the wrong place 2022-03-19 08:58:54 +01:00
tastytea b786ffb514
Add crossed to ansi-colours, reorder variants 2022-03-19 08:48:25 +01:00
tastytea bdd3a88cba
Refactor ansi-colours, add argument to only print 8 colours 2022-03-19 08:25:03 +01:00
tastytea 5ce626bb46
ansi-colours: Format 256 colour columns better 2022-03-19 07:32:37 +01:00
tastytea bc1d575dc4
Change formatting slightly 2022-03-19 07:04:35 +01:00
tastytea 8ad4ead59f
Add true colour to ANSI colour function 2022-03-19 06:59:38 +01:00
tastytea e1fd724b72
Add background info to ANSI colour function 2022-03-19 06:47:49 +01:00
tastytea 60184ed7f3
Add function to upload files via sftp 2022-03-19 06:27:22 +01:00
tastytea 24213efe5e
Add function that prints ANSI colour codes 2022-03-19 06:26:40 +01:00
tastytea c6f8269245
Zsh: Make variables in functions local 2022-03-19 04:38:23 +01:00
tastytea c00f5dce6e
Zsh: Make functions also usable as shell scripts 2022-03-19 04:34:14 +01:00
tastytea 7cc2df5318
Zsh: Put functions in directory and autoload them 2022-03-19 04:13:51 +01:00
tastytea 512682aa01
mksmol: Don't rename DIR, only files 2022-03-19 00:53:48 +01:00
tastytea cd9e60cb5b
Rename some Zsh files
No reason to keep the dot.
2022-03-18 23:22:00 +01:00
tastytea b43d99f9a1
Zsh: Turn machklein.sh into a function and name it mksmol 2022-03-18 23:11:27 +01:00
tastytea 04e2ff30d8
Use noid_dotfiles key for dotfiles if it exists 2022-03-18 22:18:06 +01:00
tastytea 8dc3f6bad1
cat-highlight: Allow | without space in $LESSOPEN 2022-03-18 17:33:21 +01:00
tastytea 9358197167
Remove unnecessary line in cat-highlight 2022-03-18 16:45:39 +01:00
tastytea 1a1afe2419
Make cat-highlight work with multiple files 2022-03-18 16:43:39 +01:00
tastytea 9f90c6c8ed
Make LESSOPEN work with multiple files 2022-03-18 16:41:53 +01:00
tastytea 0cd89f0788
Simplify cat-highlight 2022-03-18 16:21:29 +01:00
tastytea 283971e3ad
cat-highlight: Fix infinite loop, check if $LESSOPEN is set 2022-03-18 16:12:44 +01:00
tastytea 224b12ffa6
Zsh: Add cat-highlight function 2022-03-18 16:01:01 +01:00
tastytea bf5f9bad52
Move ZSH_HIGHLIGHT_HIGHLIGHTERS down a bit 2022-03-18 15:35:25 +01:00
tastytea 99de50c76c
zsh: Clean up some variables 2022-03-18 15:32:02 +01:00
tastytea eebdc4da0f
Move zsh highlighter config to zshrc 2022-03-18 15:27:34 +01:00
tastytea 3c8b71b532
Remove curl install sugestion 2022-03-18 15:26:24 +01:00
tastytea f7d26735e7
Shorten ZDOTDIR setting 2022-03-18 15:21:50 +01:00
tastytea ff7042dd36
Remove ebuildtester alias
I don't use it anymore.
2022-03-18 15:15:35 +01:00
tastytea ad281008b9
restart 2022-03-18 15:00:33 +01:00