Skip to content

Commit

Permalink
Remove create-archive because .. fuck you.. thats why!
Browse files Browse the repository at this point in the history
  • Loading branch information
strcat committed Apr 18, 2019
1 parent 3ac480b commit 2c217f7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions zshfunctions
Original file line number Diff line number Diff line change
Expand Up @@ -591,17 +591,6 @@ function simple-extract ()
}
fi

# ARCHIVE: Create a tarball from given directory
function create-archive()
{
local archive_name
archive_name="$1.tar.gz"
archive_name=${archive_name/\//}
tar cvfz "$archive_name" "$1"
echo "Created archive $archive_name"
}
compdef _directories create-archive

# ARCHIVE: Only needed if lesspipe unavailable
if [ ! -x $(which lesspipe.sh > /dev/null 2>&1) ]; then
# view archive without unpack
Expand Down

0 comments on commit 2c217f7

Please sign in to comment.