Skip to content
Browse files

Fixed completion for 'nesta edit'.

  • Loading branch information...
1 parent 50bc2c7 commit a3d253b6352ca9aef6495c6b190bdb519041d028 @gma gma committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/nesta
View
2 bin/nesta
@@ -126,7 +126,7 @@ _nesta() {
case "${prev}" in
edit)
local pages_path="content/pages"
- local pages="$(find $pages_path -type f | sed 's,$pages_path,,')"
+ local pages="$(find $pages_path -type f | sed s,$pages_path/,,)"
COMPREPLY=( $(compgen -W "$pages" -- $cur) )
return 0
;;

0 comments on commit a3d253b

Please sign in to comment.
Something went wrong with that request. Please try again.