Alois Mahdal
86d58cea76
Report errors better with cal()
пре 7 месеци
Alois Mahdal
9e6a966263
Add MYPY_CACHE_DIR to sweep mypy caching under the rug
пре 7 месеци
Alois Mahdal
5b857e64c1
Keep meta-data while copy-pasting files with xpst()
пре 7 месеци
Alois Mahdal
629c553f48
Add xpst_l() and xpst_la(), symlinking variants of xpst()
пре 7 месеци
Alois Mahdal
6bd87b80de
Add xt() and xtt() for typing clipboard out with xdotool
Useful in places where keyboard shortcut is not available, such as
primary clipboard in in almost all GUI applications.
пре 7 месеци
Alois Mahdal
48f04b37c9
Replace old xaa() with xop() usage copying its arguments to clipboard
пре 7 месеци
Alois Mahdal
054629317d
Add xdl() and xxdl() for quick downloading files
пре 7 месеци
Alois Mahdal
b1fab65a91
Add command/clipboard based xtrans() and xfromc()
пре 7 месеци
Alois Mahdal
a1397ac0ff
Expand set of quick-padding functions x4xx?()
пре 7 месеци
Alois Mahdal
9dfc30b9e9
Fix typos in x*() docstrings
пре 7 месеци
Alois Mahdal
61ac9f4993
Announce sdup (from minions) replacing lrep() and prep()
пре 7 месеци
Alois Mahdal
fff4b3a300
Add utility function to replicate STDIN horizontally
пре 7 месеци
Alois Mahdal
939759a76b
Add spec_cksources() to verify Sources: in spec files
Handy when working with Python module spec files which tend to use
GitHub or PyPi links.
пре 7 месеци
Alois Mahdal
3a95e4dff6
Improve sleeping/beeping Bash functions
Move bb() double-functionatity (sleep+throw alarm but also tell about
it) to snore() and keep bb() without info output.
Also add dotsleep() to double down on the outputting by producing dots
while sleeping.
пре 7 месеци
Alois Mahdal
2a8a12d42e
Add prepend() to simplify mass-renaming files by prepending a string
(Yeah, I know, weirdly specific and likely not very useful.)
пре 7 месеци
Alois Mahdal
cd9f64f8ca
Try and fixe Bash history
Turns out what also breaks it is what might be a bug in Bash causing
HIST* vars in Debian's .bashrc trim the history immediately, before wwe
get a chance to set it to a huge number.
The workaround -- which cannot be done safely within bashum -- is to
comment any HIST* variables in your .bashrc.
пре 7 месеци
Alois Mahdal
4d213f1fd0
Move .bashum to .config/bashum
пре 7 месеци
Alois Mahdal
26efba26bc
Use proper directory name also for exit status temp
пре 3 година
Alois Mahdal
b1ad0f7e7f
Use 'bashum' directory name for bash extensions
We already call it that way internally.
пре 3 година
Alois Mahdal
3967244319
Update 'sc' alias for the new 'se' implementation
пре 3 година
Alois Mahdal
4923f431e8
Prefer cmark for mdvimb
On Fedora, commonmark is from nodejs-commonmark, which is long-term
broken.
пре 3 година
Alois Mahdal
9d2affbfa0
Use more standard xdg-open for open()
пре 3 година
Alois Mahdal
e6e3615b15
Fix /usr/bin/cal version detection
пре 3 година
Alois Mahdal
0ac602f1e2
Add urle() for urlencode encoding/decoding
пре 3 година
Alois Mahdal
be0cf4240d
Remove unused variable declaration
пре 3 година
Alois Mahdal
0d854d68d5
Do notify about sleeping
пре 3 година
Alois Mahdal
c877c56c9f
Use BASHUM_COLOR_* globals for color codes
пре 3 година
Alois Mahdal
e6894b6421
Pass delay from nn() to bb()
пре 3 година
Alois Mahdal
0430d68a16
Add smv() and smvr() for "moving" files/trees via scp
пре 3 година
Alois Mahdal
7d4bd188f3
Add xcp() and xpst() to simulate file copy-pasting ops
пре 4 година
Alois Mahdal
2b0a29df16
Add default vars for neaty
пре 5 година
Alois Mahdal
cadd660155
Ask xvb() and xxvb() for quick ad-hoc Bash scriptlets
пре 5 година
Alois Mahdal
83c05b561e
Add vxx() for editing stdin to C-C/C-V clipboard
пре 5 година
Alois Mahdal
6a26eeaa42
Fix typo in docstring
пре 5 година
Alois Mahdal
997d7f356f
Add stdin repeaters
lrep() and prep() repeat every line, or whole stream, on stdin
$1 times.
пре 5 година
Alois Mahdal
b698f29841
Add pp(), like nn() but also pause
пре 5 година
Alois Mahdal
d5ce4d0e50
Add support for arguments in __bashum_run_n()
People can now run
__bashum_run_n 100 echo hello world
and it will print "hello world" 100 times, instead of just running
`echo` 100 times and ignoring the `hello world` part.
пре 5 година
Alois Mahdal
6ba46c6d14
Add xcxx(), to use command to transform clipboard (xvxx style)
пре 5 година
Alois Mahdal
6c641c3b83
Add interactive functions xl()/xxl() to show clipboards
пре 5 година
Alois Mahdal
011593cfb0
Add usage error
пре 5 година
Alois Mahdal
e76325ac53
Add 'lt' -- as ll but sorted according to time
пре 5 година
Alois Mahdal
090dfaed72
Add YAML quick validator
пре 5 година
Alois Mahdal
40e5955c38
Add nn(), like bb() but with a memo hint
пре 5 година
Alois Mahdal
7dd26640da
Enable verbosity for mkittool by alias
пре 5 година
Alois Mahdal
134bbc9222
Add higlight to normal pstree calls
пре 5 година
Alois Mahdal
762a84bf50
Add mdvimb styles to configuration
'darkzen' color profile for HTMLs generated by mdvimb
пре 5 година
Alois Mahdal
7b6ebd31bf
Moved mdvimb to a standalone script (local, so far)
Get current version at https://netvor.info/scripts/mdvimb
пре 6 година
Alois Mahdal
e3aad7106e
Allow for a little nap before the bell
пре 6 година
Alois Mahdal
5be271d311
Deal with several ShellCheck warnings
Work around, obey, or disable.
пре 6 година
Alois Mahdal
9709cd0367
Remove unnecessary comment
пре 6 година