From ba3b3cc7254415051c5beb42b98146fd882ebbd2 Mon Sep 17 00:00:00 2001 From: Phantop Date: Sat, 11 Jan 2020 13:50:01 -0500 Subject: [PATCH] Fish: autoload java, zip.xz for indexing --- .config/fish/config.fish | 2 +- .config/fish/functions/xcompress.fish | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 13a764f..928589b 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,5 +1,5 @@ # PATHS # -set fish_user_paths $D/Tools/bin $ANDROID_HOME/platform-tools /sbin /bin /usr/sbin /usr/bin +set fish_user_paths $D/Tools/bin $ANDROID_HOME/platform-tools /sbin /bin /usr/sbin /usr/bin /run/media/$USER/disk/jdk/bin set fish_function_path $fish_function_path $D/Games/Minecraft/Game/functions # PROGRAM SETTINGS # diff --git a/.config/fish/functions/xcompress.fish b/.config/fish/functions/xcompress.fish index 03eaec1..4a05649 100644 --- a/.config/fish/functions/xcompress.fish +++ b/.config/fish/functions/xcompress.fish @@ -1,9 +1,9 @@ -# Defined in /tmp/fish.9jgIQP/xcompress.fish @ line 2 +# Defined in /tmp/fish.JK2lNx/xcompress.fish @ line 2 function xcompress if test -d $argv - tar -cf $argv.tar $argv - xz -efvk9T 0 $argv.tar - rm $argv.tar + tar -0r $argv.zip $argv + xz -efvk9T 0 $argv.zip + rm $argv.zip else xz -efvk9T 0 $argv end