Alois Mahdal
8db0bc528c
Add grepfx() to grep for technical debt (AKA #FIXMEs)
7 years ago
Alois Mahdal
b3fa34e06c
Add x4x() to just pad primary clipboard to C-c clipboard
7 years ago
Alois Mahdal
46e5e26731
czrates is dead, long live czkrates
7 years ago
Alois Mahdal
b99fee63fd
Add verbosity to my czrates script
7 years ago
Alois Mahdal
3bec32c47a
Ignore "se" and "sc" (slovnik.cz fast access script) again
7 years ago
Alois Mahdal
77e6ec94a9
Add mdvimb, to easily open Markdown files in vimb
7 years ago
Alois Mahdal
4c1e2e0d9f
Add nljoin() for joining lines (reverse of nlfor())
7 years ago
Alois Mahdal
52c50e575c
Fix typo in nlfor() docstring
7 years ago
Alois Mahdal
920a7df54f
Replace broken hastebin Bash function
7 years ago
Alois Mahdal
9ada2fa46f
Add xvx() and xvvx() for quick clipboard editing
7 years ago
Alois Mahdal
e71dd754de
Split snippet to make it readable and under 80 characters
7 years ago
Alois Mahdal
fccec53bab
Remove obsolete user configs
7 years ago
Alois Mahdal
e1e744c483
Add grepcl() for grepping common (IRC) chat logs
7 years ago
Alois Mahdal
4b86814460
Add 'nlfor()' for most common tr syntax ("something to newline')
7 years ago
Alois Mahdal
81ba59fc1f
Improve vims() docstring
Most notably, add example of Vim configuration needed for the function
to work.
7 years ago
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.
7 years ago
Alois Mahdal
aca643e6eb
Replace `dt` alias with more powerfule functions
7 years ago
Alois Mahdal
8e7c52564f
Use vim everywhere
How come I haven't set this years ago?
7 years ago
Alois Mahdal
c9ffb46ccc
Add alias for easy cloning of terminal window
7 years ago
Alois Mahdal
1d66c8e3f5
Always end with true
7 years ago
Alois Mahdal
39508bee86
Introduce opt-in booleans for task context and bmo nagging
7 years ago
Alois Mahdal
cffb5623f0
Remove unused stman
7 years ago
Alois Mahdal
bac52e5f42
Rewrite mklinks and dotfiles structure
New version aims to simplify main vault and support deeper merging
strategies. We'll see...
7 years ago
Alois Mahdal
840e81a575
Use cmevoli's solution
http://unix.stackexchange.com/questions/72131/detecting-x-session-in-a-bash-script-bashrc-etc/338862#338862
7 years ago
Alois Mahdal
396be035a4
tasknag has been ported to bmo and improved; use that instead
8 years ago
Alois Mahdal
7aecd34635
Add funny character to each terminal window title
8 years ago
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 years ago
Alois Mahdal
bb1624d918
Use POSIX character classes, like a pro
8 years ago
Alois Mahdal
7958b78edb
Enable yum_hasbin handle any kind of file, not just bin
8 years ago
Alois Mahdal
2114bca40b
Add utility function for hastebin.com
8 years ago
Alois Mahdal
e909e7d344
Update for Shellfu 0.9.0
8 years ago
Alois Mahdal
5dd53d32ac
Add 'tasks' alias to easily see tasks outside current context
8 years ago
Alois Mahdal
739aead3ff
Use a bit more visible PS2 (and consistent with PS1)
8 years ago
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 years ago
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 years ago
Alois Mahdal
e8a366f82d
Remove forgotten debugging code
8 years ago
Alois Mahdal
b1a4ea3e9f
Check if TaskWarrior is present
8 years ago
Alois Mahdal
18ce372a5d
Mute unavoidable ShellCheck warnings
8 years ago
Alois Mahdal
9a455ea83a
No need to export interactive-mode variables
8 years ago
Alois Mahdal
50799560b6
Improve variable declaration style
Separate declaration from initialization and add variable comments.
8 years ago
Alois Mahdal
2637454cc0
yum is deprecated; use dnf in util function
8 years ago
Alois Mahdal
5882fd8f25
Add alias for `task modify`
I keeo forgetting to say "modify" and even `m` alias did not help. This
maybe...
8 years ago
Alois Mahdal
578d6ffae2
Add forgotten argument to xi*/xo* functions
8 years ago
Alois Mahdal
acc75cd445
Replace common aliases with xop commands
8 years ago
Alois Mahdal
579d55b303
Add xop() to apply fixnl to common clipboard-related annoyances
8 years ago
Alois Mahdal
e72883698d
Add fixnl() to fix common newline-related annoyances
8 years ago
Alois Mahdal
f2887061a5
Fix typo when creating hostname tag for title
8 years ago
Alois Mahdal
0e0f73ae25
Add taskwarrior context to PS1
...yep, we're getting a bit naggy...
8 years ago
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!
8 years ago
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,
8 years ago