bin: improve arg testing utilities
This commit is contained in:
parent
b72961ba4e
commit
04cfa88b27
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# To test args passed from some graphical program
|
||||||
|
notify-send "$(arg-test "$@")"
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "$# Args: $@"
|
echo "$# Args: $@"
|
||||||
echo "${@:-default}" | sed 's/\(\w\+\)/\1+sed/g'
|
echo "${@:-default}" | sed 's/\(\w\+\)/\1-w/g'
|
||||||
echo "Last arg: ${@:$#}"
|
#echo "Last arg: ${@:$#}"
|
||||||
|
|
|
@ -31,7 +31,7 @@ and configuration for ~less~ and ~fzf~.
|
||||||
# Use org-yank-visible
|
# Use org-yank-visible
|
||||||
- essentials :: git zsh bat neovim man-db texinfo
|
- essentials :: git zsh bat neovim man-db texinfo
|
||||||
- basic tools :: fd ripgrep tree jrnl python-pynvim wget zsh-completions mlocate
|
- basic tools :: fd ripgrep tree jrnl python-pynvim wget zsh-completions mlocate
|
||||||
- common tools :: ffmpeg imagemagick pandoc [[https://lftp.yar.ru/][lftp]] glances youtube-dl dos2unix zsh-doc pacman-contrib
|
- common tools :: topgrade ffmpeg imagemagick pandoc [[https://lftp.yar.ru/][lftp]] glances youtube-dl dos2unix zsh-doc pacman-contrib
|
||||||
- pass :: pass pass-otp pass-extension-tail pass-clip
|
- pass :: pass pass-otp pass-extension-tail pass-clip
|
||||||
-> interesting: pass-steam, pass-autotype, pass-file, pass-qr, pass-ssh, pass-rotate
|
-> interesting: pass-steam, pass-autotype, pass-file, pass-qr, pass-ssh, pass-rotate
|
||||||
- ssh :: openssh sshfs lemonade-git
|
- ssh :: openssh sshfs lemonade-git
|
||||||
|
|
Loading…
Reference in New Issue