Alois Mahdal
8db0bc528c
Add grepfx() to grep for technical debt (AKA #FIXMEs)
hace 7 años
Alois Mahdal
b3fa34e06c
Add x4x() to just pad primary clipboard to C-c clipboard
hace 7 años
Alois Mahdal
46e5e26731
czrates is dead, long live czkrates
hace 7 años
Alois Mahdal
b99fee63fd
Add verbosity to my czrates script
hace 7 años
Alois Mahdal
3bec32c47a
Ignore "se" and "sc" (slovnik.cz fast access script) again
hace 7 años
Alois Mahdal
77e6ec94a9
Add mdvimb, to easily open Markdown files in vimb
hace 7 años
Alois Mahdal
4c1e2e0d9f
Add nljoin() for joining lines (reverse of nlfor())
hace 7 años
Alois Mahdal
52c50e575c
Fix typo in nlfor() docstring
hace 7 años
Alois Mahdal
920a7df54f
Replace broken hastebin Bash function
hace 7 años
Alois Mahdal
9ada2fa46f
Add xvx() and xvvx() for quick clipboard editing
hace 7 años
Alois Mahdal
e71dd754de
Split snippet to make it readable and under 80 characters
hace 7 años
Alois Mahdal
e1e744c483
Add grepcl() for grepping common (IRC) chat logs
hace 7 años
Alois Mahdal
4b86814460
Add 'nlfor()' for most common tr syntax ("something to newline')
hace 7 años
Alois Mahdal
81ba59fc1f
Improve vims() docstring
Most notably, add example of Vim configuration needed for the function
to work.
hace 7 años
Alois Mahdal
aca643e6eb
Replace `dt` alias with more powerfule functions
hace 7 años
Alois Mahdal
8e7c52564f
Use vim everywhere
How come I haven't set this years ago?
hace 7 años
Alois Mahdal
c9ffb46ccc
Add alias for easy cloning of terminal window
hace 7 años
Alois Mahdal
840e81a575
Use cmevoli's solution
http://unix.stackexchange.com/questions/72131/detecting-x-session-in-a-bash-script-bashrc-etc/338862#338862
hace 7 años
Alois Mahdal
bb1624d918
Use POSIX character classes, like a pro
hace 8 años
Alois Mahdal
7958b78edb
Enable yum_hasbin handle any kind of file, not just bin
hace 8 años
Alois Mahdal
2114bca40b
Add utility function for hastebin.com
hace 8 años
Alois Mahdal
e909e7d344
Update for Shellfu 0.9.0
hace 8 años
Alois Mahdal
5dd53d32ac
Add 'tasks' alias to easily see tasks outside current context
hace 8 años
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.
hace 8 años
Alois Mahdal
2637454cc0
yum is deprecated; use dnf in util function
hace 8 años
Alois Mahdal
5882fd8f25
Add alias for `task modify`
I keeo forgetting to say "modify" and even `m` alias did not help. This
maybe...
hace 8 años
Alois Mahdal
578d6ffae2
Add forgotten argument to xi*/xo* functions
hace 8 años
Alois Mahdal
acc75cd445
Replace common aliases with xop commands
hace 8 años
Alois Mahdal
579d55b303
Add xop() to apply fixnl to common clipboard-related annoyances
hace 8 años
Alois Mahdal
e72883698d
Add fixnl() to fix common newline-related annoyances
hace 8 años
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...
hace 8 años
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.
hace 8 años
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).
hace 8 años
Alois Mahdal
92eda4f6d8
Add handy reboot and poweroff aliases
hace 8 años
Alois Mahdal
1ed40a0c91
Use rozcietrzewiacz's bash history solution
http://unix.stackexchange.com/a/18443/9365
hace 8 años
Alois Mahdal
ec388222dc
Add interactive mode function to strip color codes
hace 8 años
Alois Mahdal
260f643a67
Add/update docstrings to Bash interactive mode functions
hace 8 años
Alois Mahdal
bfec9f6521
Do not execute history-expanded command; pass it to buffer for editing
hace 8 años
Alois Mahdal
e643c25ea0
Improve greph
Using grep directly could result in "binary file matches" without any
useful info.
This would happen e.g. after renaming some files with badly-encoded
filenames. Bash history builtin seems to address such cases better.
hace 8 años
Alois Mahdal
4a2541da37
Filter out inigrep from debugging by default
hace 8 años
Alois Mahdal
d8335c600e
Add xod and xood for temporary dumping xclipboards (mktemp style)
hace 8 años
Alois Mahdal
e6744bd102
Update after ffoo is renamed to shellfu
hace 8 años
Alois Mahdal
effea5bbb8
Re-implement greph as a .bashrc function
hace 8 años
Alois Mahdal
98a90c41e7
Do not break long lines in git log
hace 8 años
Alois Mahdal
b0b0f82f83
Do not pad4 emty lines
hace 9 años
Alois Mahdal
e2e31f1624
Add XA_CLIPBOARD versions of xclip aliases
hace 9 años
Alois Mahdal
14a2f707f8
Fortify bcdiff() against junky file paths
hace 9 años
Alois Mahdal
3f340cb913
Prevent quoting problems
hace 9 años
Alois Mahdal
a1a0159e1c
Do not export what is not necessary
These variables only make sense in interactive bash session where we
always re-read .bashrc anyway.
hace 9 años
Alois Mahdal
e23b1f1922
Add `ts` alias for nicer formatting
hace 9 años