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 yıl önce
Alois Mahdal
2637454cc0
yum is deprecated; use dnf in util function
8 yıl önce
Alois Mahdal
5882fd8f25
Add alias for `task modify`
I keeo forgetting to say "modify" and even `m` alias did not help. This
maybe...
8 yıl önce
Alois Mahdal
578d6ffae2
Add forgotten argument to xi*/xo* functions
8 yıl önce
Alois Mahdal
acc75cd445
Replace common aliases with xop commands
8 yıl önce
Alois Mahdal
579d55b303
Add xop() to apply fixnl to common clipboard-related annoyances
8 yıl önce
Alois Mahdal
e72883698d
Add fixnl() to fix common newline-related annoyances
8 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
Alois Mahdal
92eda4f6d8
Add handy reboot and poweroff aliases
8 yıl önce
Alois Mahdal
1ed40a0c91
Use rozcietrzewiacz's bash history solution
http://unix.stackexchange.com/a/18443/9365
8 yıl önce
Alois Mahdal
ec388222dc
Add interactive mode function to strip color codes
8 yıl önce
Alois Mahdal
260f643a67
Add/update docstrings to Bash interactive mode functions
8 yıl önce
Alois Mahdal
bfec9f6521
Do not execute history-expanded command; pass it to buffer for editing
8 yıl önce
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.
8 yıl önce
Alois Mahdal
4a2541da37
Filter out inigrep from debugging by default
8 yıl önce
Alois Mahdal
d8335c600e
Add xod and xood for temporary dumping xclipboards (mktemp style)
8 yıl önce
Alois Mahdal
e6744bd102
Update after ffoo is renamed to shellfu
8 yıl önce
Alois Mahdal
effea5bbb8
Re-implement greph as a .bashrc function
8 yıl önce
Alois Mahdal
98a90c41e7
Do not break long lines in git log
8 yıl önce
Alois Mahdal
b0b0f82f83
Do not pad4 emty lines
9 yıl önce
Alois Mahdal
e2e31f1624
Add XA_CLIPBOARD versions of xclip aliases
9 yıl önce
Alois Mahdal
14a2f707f8
Fortify bcdiff() against junky file paths
9 yıl önce
Alois Mahdal
3f340cb913
Prevent quoting problems
9 yıl önce
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.
9 yıl önce
Alois Mahdal
e23b1f1922
Add `ts` alias for nicer formatting
9 yıl önce
Alois Mahdal
f49741e5d1
Abort soon if no swaps exist
9 yıl önce
Alois Mahdal
6694661e09
Have yum_hasbin print only pkg name
9 yıl önce
Alois Mahdal
74464625a9
Add shorthand function to find bins in repos
9 yıl önce
Alois Mahdal
4900ae9640
Add alias for virsh that always connects by default
9 yıl önce
Alois Mahdal
d9506953a3
Add routine to easily list current Vim swaps
9 yıl önce
Alois Mahdal
11418ed56f
Add alias for ISO-8601 stamps in dmesg
9 yıl önce
Alois Mahdal
25cdcb3753
Use C-style sorting in Bash
Mostly due to ls...
9 yıl önce
Alois Mahdal
8df585818d
Add alias for fast SELinux audit exploration
9 yıl önce
Alois Mahdal
8ac953b56d
Re-incarnate grepr alias as function
9 yıl önce
Alois Mahdal
59c77278e4
Add aliases for xclip
9 yıl önce
Alois Mahdal
a0b9083ec0
Fortify HISTIGNORE against filename expansion
9 yıl önce
Alois Mahdal
ff000e91e1
Use only erasedups in HISTCONTROL
9 yıl önce
Alois Mahdal
305edaf091
Do not ignore common git aliases
Turns out that these need to be often repeated
9 yıl önce
Alois Mahdal
9f396cc2ba
Allow unlimited history
9 yıl önce
Alois Mahdal
b9d04c5046
Allow huge history files
9 yıl önce
Alois Mahdal
7fef0e7602
Add workaround for Red Hat/Fedora bug 878428
9 yıl önce
Alois Mahdal
15c315f7e1
Replace deprecated GREP_OPTIONS with alias
9 yıl önce
Alois Mahdal
e2dc42c831
Add function to easily cd to gitdir
9 yıl önce
Alois Mahdal
15ab9f6b50
Use /tmp, not /var/tmp
At least on Fedora this is tmpfs
9 yıl önce
Alois Mahdal
d6b74c1d47
Move barh-rv temppdir path to main.bashrc
9 yıl önce
Alois Mahdal
c4da4cd715
Add smart bcompare wrapper
In case of 2 parameters, the wrapper will short-circuit if the files are
same.
10 yıl önce
Alois Mahdal
8a18c15383
Try to make lsblk little more useful on ad-hoc use
10 yıl önce
Alois Mahdal
0e7c70a305
ffoo's mkpretty.sh is now called pretty.sh
10 yıl önce