commit 132b4396a3b1baf3d28824a37d44558853174133 parent 3e9734b6422ada85d1ac31fa8f2baded0b1824ba Author: Ashymad <czilukim@o2.pl> Date: Sun, 14 Jan 2018 15:00:51 +0100 Merge 7z.fish form master branch Diffstat:
| A | .config/fish/functions/7z.fish | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/.config/fish/functions/7z.fish b/.config/fish/functions/7z.fish @@ -0,0 +1,8 @@ +function 7z --wraps 7z + if test "$argv[1]" = "xn" + /usr/bin/7z x "$argv[2]" -o(basename $argv[2] | sed 's/\.[^.]*$//') + else + /usr/bin/7z $argv + end +end +