File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ Zsh `abbr`, not the zsh port of fish `abbr`
30
30
- [x] in ` --add `
31
31
- [x] in ` --erase `
32
32
- [x] in ` --rename `
33
- - [ ] in user file, no ` -a -U -- `
33
+ - [x] in user file, no ` -a -U `
34
+ - [ ] in user file, no ` -- `
34
35
- [ ] ` add ` syntax is ` abbreviation='word' ` /` abbreviation="word" `
35
36
- [ ] confirm that quotes can be included by escaping them (`abbreviation="the \"full\" \'word\'"`)
36
37
- [ ] support importing from fish / migrating from <3.x
Original file line number Diff line number Diff line change @@ -525,11 +525,11 @@ _zsh_abbr() {
525
525
chmod 600 " $user_updated "
526
526
527
527
for abbreviation expansion in ${(kv)ZSH_ABBR_USER_COMMANDS} ; do
528
- echo " abbr -a -U - - $abbreviation $expansion " >> " $user_updated "
528
+ echo " abbr -- $abbreviation $expansion " >> " $user_updated "
529
529
done
530
530
531
531
for abbreviation expansion in ${(kv)ZSH_ABBR_USER_GLOBALS} ; do
532
- echo " abbr -a -U - g -- $abbreviation $expansion " >> " $user_updated "
532
+ echo " abbr -g -- $abbreviation $expansion " >> " $user_updated "
533
533
done
534
534
535
535
mv " $user_updated " " $ZSH_ABBR_USER_PATH "
You can’t perform that action at this time.
0 commit comments