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