diff options
author | 2007-01-16 11:29:18 +1000 | |
---|---|---|
committer | 2007-01-16 11:29:18 +1000 | |
commit | 7492b6cdb32cdc73ec117aa53d2568758a9a3950 (patch) | |
tree | 2bb731befc8cb43405d6b6a37b2c52a9b951e67e /share/functions/prompt_pwd.fish | |
parent | 34e27ff4c216e2d379afba19fed2761a684697d8 (diff) |
Make all descriptions for function calls use the implicit translation from the previous patch instead of explicitly using N_
darcs-hash:20070116012918-ac50b-c1c0df64333ad910ca81dbc86ad193ece6680722.gz
Diffstat (limited to 'share/functions/prompt_pwd.fish')
-rw-r--r-- | share/functions/prompt_pwd.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish index 49a03708..e971844b 100644 --- a/share/functions/prompt_pwd.fish +++ b/share/functions/prompt_pwd.fish @@ -1,6 +1,6 @@ if test (uname) = Darwin - function prompt_pwd -d (N_ "Print the current working directory, shortend to fit the prompt") + function prompt_pwd --description "Print the current working directory, shortend to fit the prompt" if test "$PWD" != "$HOME" printf "%s" (echo $PWD|sed -e 's|/private||' -e "s|^$HOME|~|" -e 's-/\([^/]\)\([^/]*\)-/\1-g') echo $PWD|sed -e 's-.*/[^/]\([^/]*$\)-\1-' @@ -9,7 +9,7 @@ if test (uname) = Darwin end end else - function prompt_pwd -d (N_ "Print the current working directory, shortend to fit the prompt") + function prompt_pwd --description "Print the current working directory, shortend to fit the prompt" if test "$PWD" != "$HOME" printf "%s" (echo $PWD|sed -e "s|^$HOME|~|" -e 's-/\([^/]\)\([^/]*\)-/\1-g') echo $PWD|sed -n -e 's-.*/[^/]\([^/]*$\)-\1-p' |