Update default packages.

- remove bat (not used often)
- remove mdcat (upstream added file fetching when the markdown file has
  images)
- replace mdcat with lowdown
- replace dos2unix with toybox and add busybox as bonus; we also add
  toybox-static to get a rescue static su(1)
- add symlinks for some toybox and busybox utilities
- add more defaults directories to stow-linux.sh
This commit is contained in:
Érico Nogueira 2021-06-05 02:46:20 -03:00
parent 7b598a87c5
commit 0692d37e5f
7 changed files with 17 additions and 6 deletions

1
boxes/.local/bin/dos2unix Symbolic link
View File

@ -0,0 +1 @@
/usr/bin/toybox

1
boxes/.local/bin/httpd Symbolic link
View File

@ -0,0 +1 @@
/usr/bin/busybox

1
boxes/.local/bin/unix2dos Symbolic link
View File

@ -0,0 +1 @@
/usr/bin/toybox

View File

@ -15,6 +15,11 @@ alias clem='emacsclient -n'
alias temacs="emacs -nw"
function mdbat --argument-names file
mdcat $file | bat -p
lowdown -Tterm $file | less -R
end
if not command -sq mdcat
function mdcat --argument-names file
lowdown -Tterm $file
end
end

View File

@ -1,4 +1,4 @@
#!/bin/sh
stow \
alacritty/ doom-emacs/ embedded/ fish/ linux-utils/ media/ nvim/ \
term-utils/ utils/ wayland/
alacritty/ boxes/ doom-emacs/ embedded/ fish/ linux-utils/ media/ nvim/ \
term-utils/ utils/ wayland/ xbps/

View File

@ -63,13 +63,14 @@ _device="usbutils"
_monitor="bmon htop"
_net="curl git gnupg2 aerc asciinema lynx weechat"
_shell="fish-shell lolcat-c tmux"
_tools="bat bsdtar dos2unix fd mdcat neovim p7zip parallel ripgrep stow execline s6"
_tools="bsdtar fd lowdown neovim p7zip parallel ripgrep stow execline s6"
_boxes="toybox toybox.static busybox"
_void="vsv xtools graphviz"
_info="man-pages-devel man-pages-posix"
_fortune="cowsay fortune-mod-void"
_otp="bearssl-devel oath-toolkit libargon2-devel jq"
term="python3 ${_browser} ${_device} ${_monitor} ${_net} ${_shell} ${_tools} ${_void}
${_info} ${_fortune} ${_otp}"
term="python3 ${_browser} ${_device} ${_monitor} ${_net} ${_shell} ${_tools}
${_boxes} ${_void} ${_info} ${_fortune} ${_otp}"
term_desc="$(print_item term) Install basic terminal utilities."
ssh="fuse-sshfs rsync"

View File

@ -2,3 +2,5 @@
echo "Linking bsdtar to tar"
ln -s /usr/bin/bsdtar ${ROOTDIR}/usr/local/bin/tar
echo "Linking toybox.static to su"
ln -s /usr/bin/toybox.static ${ROOTDIR}/usr/local/bin/su