aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/pushd.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-07 10:26:27 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-07 10:26:27 +0200
commit2ffb47eba24ad61729676206c6b8cde61c27c219 (patch)
tree0b725fbe3ab24ba5105fe7d1eb6f3d564fb47ece /share/completions/pushd.fish
parentb208d752e26fedc8cadd326bc2f319d4b1755ff4 (diff)
Add missing \n to pushd completions
Diffstat (limited to 'share/completions/pushd.fish')
-rw-r--r--share/completions/pushd.fish6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/completions/pushd.fish b/share/completions/pushd.fish
index 9e465fa0..5d9519fc 100644
--- a/share/completions/pushd.fish
+++ b/share/completions/pushd.fish
@@ -2,7 +2,7 @@ function __fish_complete_pushd_plus
if count $dirstack > /dev/null
# print each member of the stack, replace $HOME with ~
for i in (seq (count $dirstack))
- printf "+%s\t%s" $i "Rotate to "(string replace -r "^$HOME" "~" -- $dirstack[$i])
+ printf "+%s\t%s\n" $i "Rotate to "(string replace -r "^$HOME" "~" -- $dirstack[$i])
end
end
end
@@ -11,7 +11,7 @@ function __fish_complete_pushd_minus
if count $dirstack > /dev/null
# print each member of the stack, replace $HOME with ~
for i in (seq (count $dirstack) -1 1)
- printf "-%s\t%s" $i "Rotate to "(string replace -r "^$HOME" "~" -- $dirstack[$i])
+ printf "-%s\t%s\n" $i "Rotate to "(string replace -r "^$HOME" "~" -- $dirstack[$i])
end
end
end
@@ -19,7 +19,7 @@ end
function __fish_complete_pushd_swap
if count $dirstack > /dev/null
# replace $HOME with ~
- printf "\t%s" "Swap with "(string replace -r "^$HOME" "~" -- $dirstack[1])
+ printf "\t%s\n" "Swap with "(string replace -r "^$HOME" "~" -- $dirstack[1])
end
end