tide
tide copied to clipboard
Using the pwd item on the right prompt renders @PWD@
Describe the bug
- When using the pwd item on the right prompt renders @PWD@
- For both the "One line" and "Two lines" options
Steps to reproduce
Run the following script to set up tide:
$ fisher install IlanCosman/tide@v6
$ tide configure --auto --style=Rainbow --prompt_colors='True color' \
--show_time='No' --rainbow_prompt_separators=Slanted \
--powerline_prompt_heads=Slanted --powerline_prompt_tails=Flat \
--powerline_prompt_style='One line' --prompt_spacing=Compact \
--icons='Few icons' --transient=Yes
$ set --universal tide_left_prompt_items vi_mode character
$ set --universal tide_left_prompt_suffix ''
$ set rightside status shlvl cmd_duration pwd git
$ tide reload
After setup, you can trigger an error running this command:
$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
$ _tide_pwd
test: Missing argument at index 3
25 -gt
^
~/.config/fish/functions/_tide_pwd.fish (line 19):
else if test $_tide_pwd_len -gt $dist_btwn_sides
^
in function '_tide_pwd'
~/.config/app/
Environment
Output of tide bug-report:
Your Fish version is out of date.
The latest is 4.0.2. You have 4.0.1.
Please update before submitting a bug report.