瀏覽代碼

Remove open_file function

master
10sr 6 年之前
父節點
當前提交
8953c5fe5e
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 0 行新增36 行删除
  1. +0
    -36
      shrc

+ 0
- 36
shrc 查看文件

@@ -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…
取消
儲存