prompt_* functions: shorten their descriptions

This commit is contained in:
Aaron Gyes 2022-01-21 21:15:21 -08:00
parent af11a628f9
commit 4a6dbe0922
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
function prompt_hostname --description 'Print the hostname, shortened for use in the prompt'
function prompt_hostname --description 'short hostname for the prompt'
string replace -r "\..*" "" $hostname
end

View File

@ -1,4 +1,4 @@
function prompt_login --description "Print a description of the user and host suitable for the prompt"
function prompt_login --description "display user name for the prompt"
if not set -q __fish_machine
set -g __fish_machine
set -l debian_chroot $debian_chroot

View File

@ -1,4 +1,4 @@
function prompt_pwd --description 'Print the current working directory, shortened to fit the prompt'
function prompt_pwd --description 'short CWD for the prompt'
set -l options h/help d/dir-length= D/full-length-dirs=
argparse -n prompt_pwd $options -- $argv
or return