mirror of https://github.com/ericonr/dotfiles.git
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:
parent
7b598a87c5
commit
0692d37e5f
|
@ -0,0 +1 @@
|
||||||
|
/usr/bin/toybox
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/bin/busybox
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/bin/toybox
|
|
@ -15,6 +15,11 @@ alias clem='emacsclient -n'
|
||||||
alias temacs="emacs -nw"
|
alias temacs="emacs -nw"
|
||||||
|
|
||||||
function mdbat --argument-names file
|
function mdbat --argument-names file
|
||||||
mdcat $file | bat -p
|
lowdown -Tterm $file | less -R
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not command -sq mdcat
|
||||||
|
function mdcat --argument-names file
|
||||||
|
lowdown -Tterm $file
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
stow \
|
stow \
|
||||||
alacritty/ doom-emacs/ embedded/ fish/ linux-utils/ media/ nvim/ \
|
alacritty/ boxes/ doom-emacs/ embedded/ fish/ linux-utils/ media/ nvim/ \
|
||||||
term-utils/ utils/ wayland/
|
term-utils/ utils/ wayland/ xbps/
|
||||||
|
|
|
@ -63,13 +63,14 @@ _device="usbutils"
|
||||||
_monitor="bmon htop"
|
_monitor="bmon htop"
|
||||||
_net="curl git gnupg2 aerc asciinema lynx weechat"
|
_net="curl git gnupg2 aerc asciinema lynx weechat"
|
||||||
_shell="fish-shell lolcat-c tmux"
|
_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"
|
_void="vsv xtools graphviz"
|
||||||
_info="man-pages-devel man-pages-posix"
|
_info="man-pages-devel man-pages-posix"
|
||||||
_fortune="cowsay fortune-mod-void"
|
_fortune="cowsay fortune-mod-void"
|
||||||
_otp="bearssl-devel oath-toolkit libargon2-devel jq"
|
_otp="bearssl-devel oath-toolkit libargon2-devel jq"
|
||||||
term="python3 ${_browser} ${_device} ${_monitor} ${_net} ${_shell} ${_tools} ${_void}
|
term="python3 ${_browser} ${_device} ${_monitor} ${_net} ${_shell} ${_tools}
|
||||||
${_info} ${_fortune} ${_otp}"
|
${_boxes} ${_void} ${_info} ${_fortune} ${_otp}"
|
||||||
term_desc="$(print_item term) Install basic terminal utilities."
|
term_desc="$(print_item term) Install basic terminal utilities."
|
||||||
|
|
||||||
ssh="fuse-sshfs rsync"
|
ssh="fuse-sshfs rsync"
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
|
|
||||||
echo "Linking bsdtar to tar"
|
echo "Linking bsdtar to tar"
|
||||||
ln -s /usr/bin/bsdtar ${ROOTDIR}/usr/local/bin/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
|
||||||
|
|
Loading…
Reference in New Issue