scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

ll -R creates broken shortcut $e# variables #265

Open HaleTom opened 5 years ago

HaleTom commented 5 years ago
% mkdir -p dir/sub && cd dir
% touch a b sub/{c,d}
% ll -R
drwxr-xr-x 1 ravi ravi 4 Sep  2 17:11 [1]  sub
-rw-r--r-- 1 ravi ravi 0 Sep  2 17:11 [2]  a
-rw-r--r-- 1 ravi ravi 0 Sep  2 17:11 [3]  b
-rw-r--r-- 1 ravi ravi 0 Sep  2 17:11 [4]  c
-rw-r--r-- 1 ravi ravi 0 Sep  2 17:11 [5]  d
% # This makes c and d appear to be in the same directory as a and b.
% ge printf '%s\n' 1-5
/home/ravi/code/scm_breeze/tmp/dir/.:
/home/ravi/code/scm_breeze/tmp/dir/sub
/home/ravi/code/scm_breeze/tmp/dir/a
/home/ravi/code/scm_breeze/tmp/dir/b
/home/ravi/code/scm_breeze/tmp/dir/sub:

Note that colons appear and the files don't match their listed numbers.

ghthor commented 5 years ago

Never even used that flag, but yeah I can see how the processing would jank this up. !_!