Browse Source

Remove open_file function

master
10sr 6 years ago
parent
commit
8953c5fe5e
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 0 additions and 36 deletions
  1. +0
    -36
      shrc

+ 0
- 36
shrc View File

@@ -908,42 +908,6 @@ __EOF__
exec 3<&-
}

open_file(){
if $iscygwin
then
cygstart "$@"
elif $ismsys
then
cmd.exe //c start "" "$@"
elif $isdarwin
then
touch "$@"
open "$@"
elif $islinux
then
touch "$@"
if null type pcmanfm; then
LC_MESSAGES= pcmanfm "$@"
else
LC_MESSAGES= xdg-open "$@" &
fi
else
cat "$@"
fi
}

o(){
if test $# -eq 0
then
open_file .
else
for f in "$@"
do
open_file "$(realpath "$f")"
done
fi
}

convmv_sjis2utf8_test(){
convmv -r -f sjis -t utf8 *
}


Loading…
Cancel
Save