You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh -c "LESSUTFCHARDEF=23fb-23fe:p,2665:p,26a1:p,2b58:p,e000-e00a:p,e0a0-e0a2:p,e0a3:p,e0b0-e0b3:p,e0b4-e0c8:p,e0ca:p,e0cc-e0d4:p,e200-e2a9:p,e300-e3e3:p,e5fa-e6a6:p,e700-e7c5:p,ea60-ebeb:p,f000-f2e0:p,f300-f32f:p,f400-f532:p,f500-fd46:p,f0001-f1af0:p less -R -L -Q -X -S --tilde"
ISSUE
The command lines for lsd and less include some options with listed args separated by commas, tmux-sidebar will fail because it uses comma separators in its global variables.
SOLUTION
Everything related to $ARGS in sidebar.tmux, scripts/helpers.sh and scripts/variables.sh uses comma as a separator and it should be replaced with another character. I use underscores because I know that I will not use any in those commands.
The text was updated successfully, but these errors were encountered:
tkapias
changed the title
Separator character (comma) for $ARGS confflict with custom options
Separator character (comma) for $ARGS conflicts with custom options
Aug 7, 2023
I use this plugin by replacing tree with lsd and modified less options (to display NerdFonts icons).
lsd --all --icon always --color always --size default --long --blocks size,name | tail +3
sh -c "LESSUTFCHARDEF=23fb-23fe:p,2665:p,26a1:p,2b58:p,e000-e00a:p,e0a0-e0a2:p,e0a3:p,e0b0-e0b3:p,e0b4-e0c8:p,e0ca:p,e0cc-e0d4:p,e200-e2a9:p,e300-e3e3:p,e5fa-e6a6:p,e700-e7c5:p,ea60-ebeb:p,f000-f2e0:p,f300-f32f:p,f400-f532:p,f500-fd46:p,f0001-f1af0:p less -R -L -Q -X -S --tilde"
ISSUE
The command lines for lsd and less include some options with listed args separated by commas, tmux-sidebar will fail because it uses comma separators in its global variables.
SOLUTION
Everything related to
$ARGS
insidebar.tmux
,scripts/helpers.sh
andscripts/variables.sh
uses comma as a separator and it should be replaced with another character. I use underscores because I know that I will not use any in those commands.The text was updated successfully, but these errors were encountered: