diff options
author | Ross Lafferty <ross.lafferty@gmail.com> | 2018-09-01 07:37:05 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-09-01 13:37:05 +0200 |
commit | 0853b74fef0fa3a05af7487ff9b15a7f714bb037 (patch) | |
tree | d32918a5a83c760d284cdb783dcc15a8ce9591b2 /plugins/shrink-path/shrink-path.plugin.zsh | |
parent | 9f1ffc64f1cc9b82ee38b5a947033aa77e16e178 (diff) | |
download | zsh-0853b74fef0fa3a05af7487ff9b15a7f714bb037.tar.gz zsh-0853b74fef0fa3a05af7487ff9b15a7f714bb037.tar.bz2 zsh-0853b74fef0fa3a05af7487ff9b15a7f714bb037.zip |
jump: fix printf path output (#7105)
Using the `jump` plugin, using the `marks` command will yield this output:
```
$ marks
desktop marks:printf:5: bad option: ->
dotfiles marks:printf:5: bad option: ->
home marks:printf:5: bad option: ->
```
the `marks` function uses `printf` with `->` and I believe `-` is used by `printf` for left-justification. changing this to `-- "->"` seems to render the appropriate output.
```
desktop -> /Users/uname/Desktop
dotfiles -> /Users/uname/.dotfiles
home -> /Users/uname
```
Diffstat (limited to 'plugins/shrink-path/shrink-path.plugin.zsh')
0 files changed, 0 insertions, 0 deletions