From 05f3d2f2237333636cfb1400e4b54b7fe76926b8 Mon Sep 17 00:00:00 2001 From: Phantop Date: Tue, 18 Oct 2022 10:28:37 -0400 Subject: [PATCH] fish: clean up some aliases, setup: clean up pkgs --- bin/aliases | 6 ++---- bin/setup | 13 ++++++------- fish/config.fish | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/bin/aliases b/bin/aliases index d2135bd..8f879b5 100755 --- a/bin/aliases +++ b/bin/aliases @@ -16,7 +16,7 @@ a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip; a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:' a clip 'xclip -sel clip' a cpugov 's cpupower frequency-set -g performance' -a dirdl 'wget -r -k -p -np -nc e robots=off' +a dirdl 'wget -r -k -p -np -e robots=off' a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16' a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t' a dot 'cd ~/.dotfiles' @@ -47,9 +47,8 @@ a se 's eopkg' a tar bsdtar a tcsv 'curl -sL http://torrents-csv.ml/service/search?q=$argv | jq ".[]|.name,.infohash,.seeders";:' a temp 'curl temp.sh -T' -a tldrl 'curl -s https://raw.githubusercontent.com/tldr-pages/tldr/main/pages/{common,linux}/$argv.md;:' +a tldr 'curl -s https://raw.githubusercontent.com/tldr-pages/tldr/main/pages/{common,linux}/$argv.md;:' a transfer 'curl https://transfer.sh/(basename $argv) -T' -a twitch 'mpv https://twitch.tv/$argv & disown ;:' a uneopkg 'parallel "unzip -op {} install.tar.xz | tar xf -" ::: *.eopkg' a up 'se up --y' a v vi @@ -70,7 +69,6 @@ a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i' a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22' a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i' a xcompress 'fxz -T0 -9 -k' -a zipmount 'fuse-zip -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:' for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1) a $i "qutebrowser / \":open $i\"" diff --git a/bin/setup b/bin/setup index aa84cd8..d923da7 100755 --- a/bin/setup +++ b/bin/setup @@ -5,13 +5,12 @@ alias s=sudo se="s eopkg -y" g=git gnome="gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox" se rm $gnome firefox libreoffice-common onboard thunderbird -a="advancecomp arcanist archivemount aria2 audacious audacity avidemux bleachbit" -b="caja ccache corectrl fd fish fuse-zip fzf gifsicle gimp git-extras ifuse" -c="innoextract jpegoptim keepassxc kitty linux-tools-cpupower llvm-clang lrzip lynx" -d="mkvtoolnix moreutils mpv ncdu neovim nicotine-plus nnn opus-tools p7zip parallel" -e="qt-creator qutebrowser ripgrep solbuild spek syncthing tig tlp tor upx usbmuxd" -f="yt-dlp zathura-mupdf" -se up; se it -c system.devel $a $b $c $d $e $f +pkgs="advancecomp arcanist aria2 audacious audacity avidemux bleachbit caja ccache +corectrl fd fish fzf gifsicle gimp git-extras ifuse innoextract jpegoptim keepassxc +kitty linux-tools-cpupower llvm-clang lrzip lynx mkvtoolnix moreutils mpv ncdu neovim +nicotine-plus nnn opus-tools p7zip parallel qt-creator qutebrowser ripgrep solbuild +spek syncthing tig tlp tor upx usbmuxd yt-dlp zathura-mupdf" +se up; se it -c system.devel $pkgs pip3 install adblock pipx-in-pipx readability-lxml stow --no-folding -d ~/.dotfiles -t ~/.config . diff --git a/fish/config.fish b/fish/config.fish index 0696628..bdcb1c9 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -1,4 +1,4 @@ -fish_add_path -g ~/.appdwarf/{,apps} ~/{.dotfiles,.local,,Games}/bin /usr/lib64/ccache/bin +fish_add_path -g ~/.appdwarf/{,apps/bin} ~/{.dotfiles,.local,,Games}/bin /usr/lib64/ccache/bin export EDITOR=nvim MANPAGER='nvim +Man!' USE_CCACHE=1 set fish_greeting