aliases: fix alphabetical sorting, move html2text to install

This commit is contained in:
Phantop 2023-10-13 11:31:32 -04:00
parent 2977041657
commit 497182700c
2 changed files with 13 additions and 12 deletions

View File

@ -29,6 +29,7 @@ debootstrap
dolphin-emu
dracula-gtk-theme-git
dracula-kde-theme-git
dwarfs-git
expac
fd
fish
@ -43,7 +44,6 @@ ghex
gifsicle
git
gitui
glow
gnome-disk-utility
gnome-keyring
gnome-online-accounts
@ -106,7 +106,6 @@ opendoas
opus-tools
oxipng
p7zip
papirus-icon-theme
parallel
perl-parallel-forkmanager
pgbouncer
@ -123,6 +122,7 @@ pulseaudio-jack
pup
pyenv
python-adblock
python-html2text
python-pip
python-pipx
python-pyusb

View File

@ -3,10 +3,10 @@ rm -r ~/.config/fish/*
stow --no-folding -d ~/.dotfiles -t ~/.config/fish fish
curl -sL https://git.io/fisher | source
fisher install {jorgebucaran/replay,PatrickF1/fzf}.fish
set -U fish_features all
fish_update_completions
fisher install {jorgebucaran/replay,PatrickF1/fzf}.fish
ln -s /usr/share/autojump/autojump.fish ~/.config/fish/conf.d
set -U fish_features all
starship init fish --print-full-init > ~/.config/fish/conf.d/starship.fish
alias a 'alias -s'
@ -19,8 +19,8 @@ a clip 'xsel -ib'
a cpugov 's cpupower frequency-set -g performance'
a dirdl 'wget -r -k -p -np -e robots=off'
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16 --http-accept-gzip'
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
a dot 'cd ~/.dotfiles'
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
a epubpack 'cd $argv && zip -0rX ../(basename $argv).epub mimetype *; cd ..;:'
a ff 'fd -HILi -Edosdevices -E.git'
a g git
@ -28,22 +28,22 @@ a gittop 'cd (git root)'
a giveme 's chown $USER'
a gsopti 'fd -e pdf -x gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile={}1 {} \; -x mv {}1 {}'
a hardinfo 'inxi -SPARM -GCDN -v1 -xGCRS -Fxz'
a kittab 'kitty @ launch --type=tab --cwd $PWD'
a imgsum 'printf "$argv: " && identify -format "%#\n"'
a kittab 'kitty @ launch --type=tab --cwd $PWD'
a l ls
a la 'l -A'
a launcher 'rofi -combi-modi drun,run,window -modi combi -show'
a listen 'pactl list | grep loop && set t un; pactl "$t"load-module module-loopback'
a nix '. ~/.nix-profile/etc/profile.d/nix.fish; command nix'
a nsp 'netsurf (pandoc $argv -s -t html | psub -s .html);:'
a nsmd 'netsurf (md2html $argv | psub -s .html);:'
a nsp 'netsurf (pandoc $argv -s -t html | psub -s .html);:'
a off shutdown
a png2webp 'fd -e png -x cwebp -z 9 -mt {} -o {.}.webp \; -x rm'
a qb 'qutebrowser --target auto'
a qutainer 'qutebrowser --temp-basedir'
a re 'systemctl reboot -i'
a rmdirs 'ff -t d -x rmdir -p'
a rmlinks 'ff -t l -x rm'
a qb 'qutebrowser --target auto'
a re 'systemctl reboot -i'
a s 'doas env "PATH=$PATH"'
a ssh 'kitty +kitten ssh'
a sus 'systemctl suspend'
@ -77,11 +77,12 @@ a history_find 'history -p (string sub -s 2 $argv[1]) | head -n1;:'
a history_last 'history -n1;:'
for i in (cut -d ' ' -f1 < ~/.config/qutebrowser/quickmarks)
a $i "qutebrowser / \":open $i\""
a $i "qutebrowser / \":open $i\""
end
for i in deemix encodec git-sim html2text lightnovel-crawler mandown spleeter\
mangadex-downloader mathicsscript pdf2docx portablemc ratarmount scdl soundscrape
for i in deemix encodec git-sim lightnovel-crawler mandown mangadex-downloader\
mathicsscript pdf2docx portablemc ratarmount scdl soundscrape spleeter
a $i "pipx run $i"
end
a in2csv 'pipx run --spec csvkit in2csv'
a mathics 'pipx run --spec mathics-django mathicsserver'