Alois Mahdal
8db0bc528c
Add grepfx() to grep for technical debt (AKA #FIXMEs)
8 лет назад
Alois Mahdal
b3fa34e06c
Add x4x() to just pad primary clipboard to C-c clipboard
8 лет назад
Alois Mahdal
46e5e26731
czrates is dead, long live czkrates
8 лет назад
Alois Mahdal
b99fee63fd
Add verbosity to my czrates script
8 лет назад
Alois Mahdal
3bec32c47a
Ignore "se" and "sc" (slovnik.cz fast access script) again
8 лет назад
Alois Mahdal
77e6ec94a9
Add mdvimb, to easily open Markdown files in vimb
8 лет назад
Alois Mahdal
4c1e2e0d9f
Add nljoin() for joining lines (reverse of nlfor())
8 лет назад
Alois Mahdal
52c50e575c
Fix typo in nlfor() docstring
8 лет назад
Alois Mahdal
920a7df54f
Replace broken hastebin Bash function
8 лет назад
Alois Mahdal
9ada2fa46f
Add xvx() and xvvx() for quick clipboard editing
8 лет назад
Alois Mahdal
e71dd754de
Split snippet to make it readable and under 80 characters
8 лет назад
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
9 лет назад
Alois Mahdal
7aecd34635
Add funny character to each terminal window title
9 лет назад
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.
9 лет назад
Alois Mahdal
bb1624d918
Use POSIX character classes, like a pro
9 лет назад
Alois Mahdal
7958b78edb
Enable yum_hasbin handle any kind of file, not just bin
9 лет назад
Alois Mahdal
2114bca40b
Add utility function for hastebin.com
9 лет назад
Alois Mahdal
e909e7d344
Update for Shellfu 0.9.0
9 лет назад
Alois Mahdal
5dd53d32ac
Add 'tasks' alias to easily see tasks outside current context
9 лет назад
Alois Mahdal
739aead3ff
Use a bit more visible PS2 (and consistent with PS1)
9 лет назад
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.
9 лет назад
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.
9 лет назад
Alois Mahdal
e8a366f82d
Remove forgotten debugging code
9 лет назад
Alois Mahdal
b1a4ea3e9f
Check if TaskWarrior is present
9 лет назад
Alois Mahdal
18ce372a5d
Mute unavoidable ShellCheck warnings
9 лет назад
Alois Mahdal
9a455ea83a
No need to export interactive-mode variables
9 лет назад
Alois Mahdal
50799560b6
Improve variable declaration style
Separate declaration from initialization and add variable comments.
9 лет назад
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 лет назад