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