文件操作 - lonetwin.fish
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/fish/tools/web_config/sample_prompts/lonetwin.fish
编辑文件内容
# name: lonetwin # author: Steve function fish_prompt --description 'Write out the prompt' # Just calculate these once, to save a few cycles when displaying the prompt if not set -q __fish_prompt_hostname set -g __fish_prompt_hostname (hostname -s) end if not set -q __fish_prompt_normal set -g __fish_prompt_normal (set_color normal) end if not set -q __fish_prompt_cwd set -g __fish_prompt_cwd (set_color $fish_color_cwd) end echo -n -s "$USER" @ "$__fish_prompt_hostname" ' ' "$__fish_prompt_cwd" (prompt_pwd) (__fish_vcs_prompt) "$__fish_prompt_normal" '> ' end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件