diff --git a/.config/zsh/functions/fstag b/.config/zsh/functions/fstag deleted file mode 100755 index 513452d..0000000 --- a/.config/zsh/functions/fstag +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env zsh -# tag files using extended attributes - -setopt LOCAL_OPTIONS ERR_RETURN NO_UNSET PIPE_FAIL - -print -u 2 \ -'DEPRECATED, use xdgtag instead. -See - -To convert your files from user.fstag.tags to user.xdg.tags, run (in Zsh): -zmodload zsh/attr -for file in **/*; do - local tags=$(zgetattr ${file} user.fstag.tags 2> /dev/null) - if [[ -n ${tags} ]]; then - zsetattr ${file} user.xdg.tags ${tags} - zdelattr ${file} user.fstag.tags - fi -done' - -return 1