Commit Graph

301 Commits

Author SHA1 Message Date
fe6716c2f0
typo 2022-04-18 20:04:47 +02:00
9202b3e53c
Make netgrep use numeric ports 2022-04-18 20:04:06 +02:00
90701ea228
Make xdgtag completion expand file names
The file name seems to be passed to the completion as an unexpanded
string and setting GLOB_SUBST did expand ~ but filenames with space
didn't work.
2022-04-18 13:54:02 +02:00
73e968aea0
Add openwwwimg 2022-04-18 06:27:56 +02:00
8f017a3211
readwwwlog: Use elif 2022-04-18 05:42:55 +02:00
7903624fcf
readwwwlog: ignore case in error matching pattern 2022-04-18 05:41:35 +02:00
be36c6a182
Add irccloud.com to readwwwlog and urlhandler 2022-04-18 05:39:41 +02:00
b6b7f698f4
Fix colours in sshproxy 2022-04-17 07:12:12 +02:00
ce31dbea7f
Add sshproxy() 2022-04-17 07:00:18 +02:00
0506b66d91
zsh functions: make ret local variable 2022-04-17 06:59:04 +02:00
5c546cc5b8
puttmpninja: Return with error code if curl fails 2022-04-17 06:58:31 +02:00
fd11e94f19
Zsh: use PCRE with =~ 2022-04-17 02:55:01 +02:00
076c72c58e
Add --server option to mxc2http 2022-04-16 15:28:13 +02:00
0256d3d22b
Add support for pastebin URLs in urlhandler/readwwwlog 2022-04-16 13:47:23 +02:00
fc176f28b7
Move matrix_image_url -> mxc2http 2022-04-16 06:38:32 +02:00
87c389eb39
Add matrix_image_url 2022-04-16 06:32:49 +02:00
bfd9efb569
Remove fstag 2022-04-16 04:33:16 +02:00
837077ea39
readwwwlog: Don't open terminal if already in terminal 2022-04-15 14:57:10 +02:00
cf6d630911
Move urlhandler to ~/.local/bin
It will probably never be called from the terminal, so it shouldn't be a
function.
2022-04-15 14:37:35 +02:00
f69d921bcf
Prioritise ~/.local/bin 2022-04-15 14:11:27 +02:00
abd07dbb98
typo 2022-04-15 13:51:01 +02:00
63f2f0920d
Zsh theme: Set unknown-token to default 2022-04-15 13:48:12 +02:00
30150785aa
Add wma and wmv to urlhandler 2022-04-15 13:47:53 +02:00
ae15f1effc
Add mkplaylist 2022-04-15 13:46:20 +02:00
6484bc21e8
Don't break URLs with special characters (like ‘?’) 2022-04-15 10:02:32 +02:00
e8fa980d8e
Break up too long line 2022-04-15 07:30:40 +02:00
35ebd713e5
urlhandler: Allow commands with options 2022-04-15 07:21:59 +02:00
a000b85b90
urlhandler: Add VLC as fallback 2022-04-15 07:04:45 +02:00
ca6a58619c
urlhandler: re-order variables 2022-04-15 07:04:26 +02:00
221f805921
typo 2022-04-15 07:01:34 +02:00
8b8010882b
Set terminal title in readwwwlog 2022-04-15 06:09:36 +02:00
bb8fe8f958
Enhance less command in readwwwlog 2022-04-15 05:42:04 +02:00
0f1a78a9f7
Add suffix to temporary files created by readwwwlog 2022-04-15 05:23:52 +02:00
b73d32a30a
Escape . in regexes in urlhandler 2022-04-15 05:20:19 +02:00
f4ca07c8be
Add urlhandler 2022-04-15 05:14:41 +02:00
1c77fccff6
Add readwwwlog 2022-04-15 05:13:22 +02:00
b0cd0f42af
typo 2022-04-14 04:55:05 +02:00
ef3027a5de
Add colours to puttmpninja 2022-04-14 02:56:11 +02:00
4f3050e401
Add puttmpninja 2022-04-14 01:02:18 +02:00
fb96c52966
Make xdgtag executable 2022-04-14 00:58:10 +02:00
961c9a08d8
Zsh: Add kebinding for editing the current line in the editor 2022-04-13 09:11:23 +02:00
77a4a3325e
Remove --validate-input from highlight
It causes some text to be swallowed
2022-04-12 07:33:14 +02:00
299b9448fc
change audio + video colors in LS_COLORS 2022-04-11 04:50:29 +02:00
75c8fd922d
xdgtag: sort when adding tags 2022-04-10 21:48:54 +02:00
a8688a8978
xdgtag: Delete attribute if empty 2022-04-10 18:55:47 +02:00
210ea9aca3
Replace fstag with xdgtag
xdgtag uses user.xdg.tags, supported by dolphin and other applications.
<https://xdg.freedesktop.narkive.com/f7GQ2EpR/commonextendedattributes-xattr-tags>
2022-04-10 18:23:55 +02:00
25dbe712e1
Fix globbing in fstag() 2022-04-10 09:32:11 +02:00
77865e63a3
Fix completion for fstag 2022-04-10 09:10:00 +02:00
4c94590ddf
Remove line I commented out 2022-04-10 09:03:48 +02:00
a3754ffe3b
Add fstag(), a tool to tag arbitrary files using extended attributes 2022-04-10 08:58:04 +02:00
dd28a51c27
preserve all (including xattrs) with cp 2022-04-10 06:15:21 +02:00
16fcbdd23a
Quote properly in cat-highlight() 2022-04-10 03:58:41 +02:00
08d5e15e18
Add subdir and help options to putwww, add completion 2022-04-10 03:39:55 +02:00
d2d2a166df
Make cat-highlight() work with spaces in filenames 2022-04-10 03:25:50 +02:00
56fd3d07a8
Simplify ssh-sign() a bit 2022-04-10 03:17:44 +02:00
5a4e65a545
_showebuild: return if _gentoo_packages is not found 2022-04-09 22:42:29 +02:00
abf19647c7
Add showebuild function
Show either installed, newest non-live or newest ebuild in less
2022-04-09 22:38:01 +02:00
6ad16cd497
Use highlight colour from theme in die() 2022-04-09 22:00:57 +02:00
0e631eb476
Remove useless autoload from ssh-sign 2022-04-09 21:56:33 +02:00
00fb63e60a
Zsh: Improve completions a bit
<https://thevaluable.dev/zsh-completion-guide-examples/>
2022-04-09 06:41:09 +02:00
c2f45d5661
Improve ssh-sign function
Add -h option, don't require argument
2022-04-08 22:26:12 +02:00
151f91fb24
Add ssh-sign function 2022-04-08 20:11:49 +02:00
3fa947d422
Align minor colour in Zsh prompt with tmux status colour 2022-04-08 04:54:34 +02:00
882232cff2
Zsh: Deprioritise portageq 2022-04-08 00:39:53 +02:00
aa036cb6bf
Zsh: Rename zaliases, zkeys and zsecrets 2022-04-08 00:35:06 +02:00
10e4b0ff86
Zsh: Change Gentoo repo directory aliases a bit
- Check for /etc/gentoo-release instead of calling lsb_release
- Make allrepos command nicer
2022-04-08 00:28:05 +02:00
12256f9137
Zsh: Refactor system package plugin detection 2022-04-06 19:52:58 +02:00
eb4973ae60
Zsh: Return early if _my_plugins is empty 2022-04-06 04:07:06 +02:00
a6baba1e30
Zsh: Use Gentoo packages for more plugins if possible
Add support for zsh-async, fzf-tab and zsh-history-substring-search.
2022-04-05 23:47:18 +02:00
806f31c85d
Zsh: Don't run antibody if we don't need it 2022-04-05 16:34:17 +02:00
98a36aa78c
Zsh: Move plugin management into own file
Also Don't install plugins that are already installed by the package
manager.
2022-04-05 16:11:10 +02:00
09c6315836
Zsh: Organise plugins in an array 2022-04-04 19:48:48 +02:00
f37ca08d78
Zsh: Don't load autosuggestions on slow computers 2022-04-04 19:29:56 +02:00
0a43f420e2
Change Zsh autosuggest colour to inactive color from prompt theme 2022-04-04 05:58:08 +02:00
f44adb6760
Zsh prompt: Make sure bright colours are used for SSH and root 2022-04-04 05:23:00 +02:00
975ae6087c
ansi-colours: Add italic to modifier example 2022-04-04 05:22:26 +02:00
00c7c2bc76
Remove cursor style from zsh syntax hl theme
It interacts weirdly with terminal defaults.
2022-04-03 22:05:19 +02:00
9cefc87adf
die: Grab errorcode before doing anything else 2022-04-03 07:38:33 +02:00
386fcc82bd
cat-highlight: Allow unset variables 2022-04-03 07:38:07 +02:00
071d3e0e01
Only allow exactly 2 arguments in btrfs-snapshot-compare 2022-04-03 07:00:31 +02:00
e7bfbe250c
Zsh: Use die() in functions 2022-04-03 06:43:18 +02:00
94d92ff080
Zsh: Remove - from WORDCHARS 2022-04-03 06:19:07 +02:00
83ff053395
Zsh functions: set options for better error handling 2022-04-03 05:47:50 +02:00
cf620b0642
Zsh: die(): return instead of exit if interactive 2022-04-03 05:08:51 +02:00
ecc61cb747
Only set ALTERNATE_EDITOR to nano if nano is in PATH 2022-04-03 04:42:47 +02:00
5e925e84a8
Zsh: Add function: die() 2022-04-03 04:40:51 +02:00
64c12cd4cf
Zsh: Move fpath addition to .zshenv to have it available in scripts 2022-04-03 04:34:13 +02:00
e8490692b3
Zsh: Use more shell builtins for LC_TIME setting 2022-04-02 17:40:33 +02:00
d568b10ef8
LS_COLORS: Change config file colour to brown 2022-04-02 15:49:03 +02:00
1d129818a8
Add .ex and .js to LS_COLORS 2022-04-02 00:09:04 +02:00
d3daa18cfb
Zsh: Silence echoti errors 2022-04-01 23:59:17 +02:00
e004081c5a
Zsh: Use more shell builtins, load modules explicitly 2022-04-01 23:30:25 +02:00
6cff8a5713
Add functions to fpath in .zshrc 2022-04-01 21:01:32 +02:00
4d44b03add
Set ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE to darker grey 2022-04-01 04:37:20 +02:00
dc33eb2aa1
Add .org to text files in LS_COLORS 2022-04-01 03:49:35 +02:00
6404f6ce53
unset LS_COLORS before changing it 2022-04-01 03:49:14 +02:00
23a3a2bf4d
LS_COLORS: Change includable color and make it italic 2022-04-01 03:48:58 +02:00
93120ef0ff
Add stuff to LS_COLORS, change compressed to red, text to cyan 2022-04-01 03:30:00 +02:00
05a3d13dba
Add modifier example for 256 colour mode to ansi-colours 2022-04-01 03:14:59 +02:00
ab7498a640
Add some stuff to LS_COLORS and comment it 2022-03-31 23:53:52 +02:00
1489bda6ba
LS_COLORS: Don't specify color for compressed files 2022-03-31 23:37:11 +02:00
24312b9cc9
Add more LS_COLORS 2022-03-31 23:20:40 +02:00
7ffde81604
LS_COLORS: Change playlist color to green 2022-03-31 20:28:17 +02:00
c9f68da170
°Zsh: Add some LS_COLORS 2022-03-31 18:27:51 +02:00
b435cdc477
Zsh: Remove unnecessary escpape 2022-03-29 17:24:59 +02:00
a1b516beb5
Zsh: Fix WORDCHARS modification 2022-03-29 16:09:30 +02:00
e027467bf3
Zsh: Remove useless redirections in functions 2022-03-29 00:23:46 +02:00
4202e0ac9c
Zsh: Fix always true comparison 2022-03-28 15:25:52 +02:00
2cc6086cbb
Zsh: Rewrite plugin update mechanism 2022-03-28 06:51:55 +02:00
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