diff options
author | axel <axel@liljencrantz.se> | 2006-03-02 02:53:47 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-03-02 02:53:47 +1000 |
commit | c2f6c6c1d2be2c67d55855cd2151c1f82382c172 (patch) | |
tree | 36d3a284c8a6d63cca5e10f8e931a7a829bbfdda /share/functions/prompt_pwd.fish | |
parent | 7726cffdabead968f0b9e1394333851f760671b1 (diff) |
Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.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 709ccca6..039148ff 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 (_ "Print the current working directory, shortend to fit the prompt") + function prompt_pwd -d (N_ "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 (_ "Print the current working directory, shortend to fit the prompt") + function prompt_pwd -d (N_ "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 -e 's-.*/[^/]\([^/]*$\)-\1-' |