Alois Mahdal
c7d437ded5
Keep timestamp in Bash history
6 years ago
Alois Mahdal
6995b11461
Improve mdvimb() to accept no args or `-` for stdin
6 years ago
Alois Mahdal
7afe9ac763
Weechat logs have been moved elsewhere some time ago
6 years ago
Alois Mahdal
fb66dc0584
Add grepr1(), "flat" version of grepr()
6 years ago
Alois Mahdal
f1cf00ea3d
Add alias for simple wttr.in query
6 years ago
Alois Mahdal
cb9343ba7c
Add stdout to clipboard editor
6 years ago
Alois Mahdal
a0f3f5a8e3
Give more logical naming to clipboard editors
'x' meaning primary, 'xx' meaning 'C-C' and 'v' meaning vipe(1).
6 years ago
Alois Mahdal
5e8dc77f1b
Add simple Quoted-Printable encoding/decoding function
6 years ago
Alois Mahdal
b0b2b2362b
Use `[:blank:]` or space as default split/join character
6 years ago
Alois Mahdal
3ac13cca04
Add convenience function to do things twice()
6 years ago
Alois Mahdal
d5ecf85b49
Solve the bell question
6 years ago
Alois Mahdal
0a3f317d8f
Enable syntax higliighting in less(1)
7 years ago
Alois Mahdal
6974c19111
Add function to grab audio from YouTube
...for the love of podcasts!
7 years ago
Alois Mahdal
b722f5d3dd
Remove confusing --binary-files=without-match
Many files may look like text file but be actually considerd binary by
git. In suich case this setting can be extremely confusing.
7 years ago
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
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
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
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
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
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
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
31e0af6b66
Use colordiff (everywhere)
This used to be re-set in host-specific bashrc, but we already rely on
so many things installed anyway...
8 years ago
Alois Mahdal
71295e1318
Revert "Don't put taskwarrior commands to history"
This reverts commit 55a4088d807c5ca0552e89c3240ec1d3c88842f6.
Turns out this makes it too hard to explore and learn the vast potentials
of taskwarrior CLI.
8 years ago
Alois Mahdal
55a4088d80
Don't put taskwarrior commands to history
Since task IDs are dynamic in taskwarrior, commands like `task 4 delete`
and `task 4 done` can be destructive with hard-to-trace damage if
inadverently repeated.
Better to avoid that, even at cost of not remembering anything.
(Note that `task` without arguments is still remembered; there's no harm
in repeating that, and it still can be convenient eg. w/ ^L).
8 years ago
Alois Mahdal
92eda4f6d8
Add handy reboot and poweroff aliases
8 years ago
Alois Mahdal
1ed40a0c91
Use rozcietrzewiacz's bash history solution
http://unix.stackexchange.com/a/18443/9365
8 years ago
Alois Mahdal
ec388222dc
Add interactive mode function to strip color codes
8 years ago