文件操作 - suspend.fish
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/fish/functions/suspend.fish
编辑文件内容
# If the user hasn't set it, make sure our test level has a value if not set -q suspend_minimum_SHLVL set -g suspend_minimum_SHLVL 3 end function suspend -d "Suspend the current shell." if begin contains -- $argv --force or not status --is-interactive or begin test $SHLVL -ge $suspend_minimum_SHLVL and not status --is-login end end kill -STOP %self else echo 2>&1 Cannot suspend login shell or SHLVL to low, use --force to force. end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件