diff options
author | nulltrek <pumabit@gmail.com> | 2013-09-12 11:06:45 +0200 |
---|---|---|
committer | nulltrek <pumabit@gmail.com> | 2013-09-12 11:46:31 +0200 |
commit | e031fa72077140c6b0fa46aa4f8b6c350f75fedc (patch) | |
tree | a1f38b6b73022636c257dc0423c27ce070f24ba8 | |
parent | 1b521d0822fb55ad1ec04b16af7ca39e5becc41a (diff) |
Fix some typos.
-rw-r--r-- | share/functions/__fish_complete_ls.fish | 2 | ||||
-rw-r--r-- | share/functions/prompt_pwd.fish | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/functions/__fish_complete_ls.fish b/share/functions/__fish_complete_ls.fish index 652a02d3..1fe39659 100644 --- a/share/functions/__fish_complete_ls.fish +++ b/share/functions/__fish_complete_ls.fish @@ -4,7 +4,7 @@ # Test if we are using GNU ls -function __fish_complete_ls -d "Compleletions for ls and its aliases" +function __fish_complete_ls -d "Completions for ls and its aliases" set -l is_gnu command ls --version >/dev/null ^/dev/null; and set is_gnu --is-gnu diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish index f559fb04..991b007b 100644 --- a/share/functions/prompt_pwd.fish +++ b/share/functions/prompt_pwd.fish @@ -1,14 +1,14 @@ switch (uname) case Darwin - function prompt_pwd --description "Print the current working directory, shortend to fit the prompt" + function prompt_pwd --description "Print the current working directory, shortened to fit the prompt" echo $PWD | sed -e "s|^$HOME|~|" -e 's|^/private||' -e 's-\([^/.]\)[^/]*/-\1/-g' end case 'CYGWIN_*' - function prompt_pwd --description "Print the current working directory, shortend to fit the prompt" + function prompt_pwd --description "Print the current working directory, shortened to fit the prompt" echo $PWD | sed -e "s|^$HOME|~|" -e 's|^/cygdrive/\(.\)|\1/:|' -e 's-\([^/.]\)[^/]*/-\1/-g' -e 's-^\([^/]\)/:/\?-\u\1:/-' end case '*' - function prompt_pwd --description "Print the current working directory, shortend to fit the prompt" + function prompt_pwd --description "Print the current working directory, shortened to fit the prompt" echo $PWD | sed -e "s|^$HOME|~|" -e 's-\([^/.]\)[^/]*/-\1/-g' end end |