文件操作 - __fish_complete_job_pids.fish
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/fish/functions/__fish_complete_job_pids.fish
编辑文件内容
function __fish_complete_job_pids --description "Print a list of job PIDs and their commands" if set -l jobpids (jobs -p) # when run at the commandline, the first line of output is a header, but # that doesn't seem to be printed when you run jobs in a subshell # then we can use the jobs command again to get the corresponding # command to provide as a description for each job PID for jobpid in $jobpids set -l cmd (jobs -c $jobpid) printf "%s\tJob: %s\n" $jobpid $cmd end end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件