mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-25 00:03:29 +00:00
Fish: autoload java, zip.xz for indexing
This commit is contained in:
parent
a0c2f24c26
commit
ba3b3cc725
|
@ -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 #
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue