Alois Mahdal
8db0bc528c
Add grepfx() to grep for technical debt (AKA #FIXMEs)
7 anni fa
Alois Mahdal
b3fa34e06c
Add x4x() to just pad primary clipboard to C-c clipboard
7 anni fa
Alois Mahdal
46e5e26731
czrates is dead, long live czkrates
7 anni fa
Alois Mahdal
b99fee63fd
Add verbosity to my czrates script
7 anni fa
Alois Mahdal
3bec32c47a
Ignore "se" and "sc" (slovnik.cz fast access script) again
7 anni fa
Alois Mahdal
77e6ec94a9
Add mdvimb, to easily open Markdown files in vimb
7 anni fa
Alois Mahdal
4c1e2e0d9f
Add nljoin() for joining lines (reverse of nlfor())
7 anni fa
Alois Mahdal
52c50e575c
Fix typo in nlfor() docstring
7 anni fa
Alois Mahdal
920a7df54f
Replace broken hastebin Bash function
7 anni fa
Alois Mahdal
9ada2fa46f
Add xvx() and xvvx() for quick clipboard editing
7 anni fa
Alois Mahdal
e71dd754de
Split snippet to make it readable and under 80 characters
7 anni fa
Alois Mahdal
fccec53bab
Remove obsolete user configs
8 anni fa
Alois Mahdal
e1e744c483
Add grepcl() for grepping common (IRC) chat logs
8 anni fa
Alois Mahdal
4b86814460
Add 'nlfor()' for most common tr syntax ("something to newline')
8 anni fa
Alois Mahdal
81ba59fc1f
Improve vims() docstring
Most notably, add example of Vim configuration needed for the function
to work.
8 anni fa
Alois Mahdal
d9db4da860
Be smarter about terminal title icon
First, I'm not sure where I took the former icon, but it does not work
out of the bos on Fedora, so I decided to use another one rather than
try to find out.
Also when a system is accessed via SSH, it will use different
(fa-server) icon.
8 anni fa
Alois Mahdal
aca643e6eb
Replace `dt` alias with more powerfule functions
8 anni fa
Alois Mahdal
8e7c52564f
Use vim everywhere
How come I haven't set this years ago?
8 anni fa
Alois Mahdal
c9ffb46ccc
Add alias for easy cloning of terminal window
8 anni fa
Alois Mahdal
1d66c8e3f5
Always end with true
8 anni fa
Alois Mahdal
39508bee86
Introduce opt-in booleans for task context and bmo nagging
8 anni fa
Alois Mahdal
cffb5623f0
Remove unused stman
8 anni fa
Alois Mahdal
bac52e5f42
Rewrite mklinks and dotfiles structure
New version aims to simplify main vault and support deeper merging
strategies. We'll see...
8 anni fa
Alois Mahdal
840e81a575
Use cmevoli's solution
http://unix.stackexchange.com/questions/72131/detecting-x-session-in-a-bash-script-bashrc-etc/338862#338862
8 anni fa
Alois Mahdal
396be035a4
tasknag has been ported to bmo and improved; use that instead
8 anni fa
Alois Mahdal
7aecd34635
Add funny character to each terminal window title
8 anni fa
Alois Mahdal
e4b0ff204c
Add check for syncthing
Silly but for now it will suffice. Maybe one day I'll learn the magic
of systemd so that I'll be able to set this up in a less embarrassing
way.
8 anni fa
Alois Mahdal
bb1624d918
Use POSIX character classes, like a pro
8 anni fa
Alois Mahdal
7958b78edb
Enable yum_hasbin handle any kind of file, not just bin
8 anni fa
Alois Mahdal
2114bca40b
Add utility function for hastebin.com
8 anni fa
Alois Mahdal
e909e7d344
Update for Shellfu 0.9.0
8 anni fa
Alois Mahdal
5dd53d32ac
Add 'tasks' alias to easily see tasks outside current context
8 anni fa
Alois Mahdal
739aead3ff
Use a bit more visible PS2 (and consistent with PS1)
8 anni fa
Alois Mahdal
8be418af6b
Calm down Vim's default syntax highlighter
When case is left without quotes, Vim's default syntax highlighter shows
the left bracket in strong, error-y red style (not sure why, e.g.
ShellCheck does not complain about that notation). It seems to work
fine when quoted, though.
8 anni fa
Alois Mahdal
f78817a4f8
Ignore terminal reset
Hardly needed to do repeatedly and when it is, it's best linked with
an observed command on the same line.
8 anni fa
Alois Mahdal
e8a366f82d
Remove forgotten debugging code
8 anni fa
Alois Mahdal
b1a4ea3e9f
Check if TaskWarrior is present
8 anni fa
Alois Mahdal
18ce372a5d
Mute unavoidable ShellCheck warnings
8 anni fa
Alois Mahdal
9a455ea83a
No need to export interactive-mode variables
8 anni fa
Alois Mahdal
50799560b6
Improve variable declaration style
Separate declaration from initialization and add variable comments.
8 anni fa
Alois Mahdal
2637454cc0
yum is deprecated; use dnf in util function
8 anni fa
Alois Mahdal
5882fd8f25
Add alias for `task modify`
I keeo forgetting to say "modify" and even `m` alias did not help. This
maybe...
9 anni fa
Alois Mahdal
578d6ffae2
Add forgotten argument to xi*/xo* functions
9 anni fa
Alois Mahdal
acc75cd445
Replace common aliases with xop commands
9 anni fa
Alois Mahdal
579d55b303
Add xop() to apply fixnl to common clipboard-related annoyances
9 anni fa
Alois Mahdal
e72883698d
Add fixnl() to fix common newline-related annoyances
9 anni fa
Alois Mahdal
f2887061a5
Fix typo when creating hostname tag for title
9 anni fa
Alois Mahdal
0e0f73ae25
Add taskwarrior context to PS1
...yep, we're getting a bit naggy...
9 anni fa
Alois Mahdal
b3a226a0a7
Refactor title and "lastrv" setting
This likely breaks hostname setting when accessing via SSH, but:
* it's first version that is at least somehow readable,
* and also WE *MAY* have fixed the long-standing PITA escaping
errors that we used to get in urxvt if BASH_COMMAND had backslashes
in it!
9 anni fa
Alois Mahdal
5280b0e4ed
Clean up bashrc system
* Remove excess comments and optional syntax (eg. EOL `;`),
* use non-conflict function names,
* simplify PS1 generation,
* close PROMPT_COMMAND setup into function,
9 anni fa