diff --git a/share/tools/web_config/sample_prompts/user_host_path.fish b/share/tools/web_config/sample_prompts/user_host_path.fish deleted file mode 100644 index 37e13bf47..000000000 --- a/share/tools/web_config/sample_prompts/user_host_path.fish +++ /dev/null @@ -1,15 +0,0 @@ -# name: User, Host, Path -# author: Jon Clayden - -function fish_prompt -d "Write out the prompt" - set -l home_escaped (echo -n $HOME | sed 's/\//\\\\\//g') - set -l pwd (echo -n $PWD | sed "s/^$home_escaped/~/" | sed 's/ /%20/g') - set -l prompt_symbol '' - switch "$USER" - case root toor - set prompt_symbol '#' - case '*' - set prompt_symbol '$' - end - printf "[%s@%s %s%s%s]%s " $USER (prompt_hostname) (set_color $fish_color_cwd) $pwd (set_color normal) $prompt_symbol -end