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

$e# variables are set incorrectly with `ll dir1 dir2` #274

Closed HaleTom closed 5 years ago

HaleTom commented 5 years ago
% mkdir 1 2
% touch 1/file1 2/file2
% /bin/ls -lR
.:
total 0
drwxr-xr-x 1 ravi ravi 10 Sep 14 15:17 1
drwxr-xr-x 1 ravi ravi 10 Sep 14 15:17 2

./1:
total 0
-rw-r--r-- 1 ravi ravi 0 Sep 14 15:17 file1

./2:
total 0
-rw-r--r-- 1 ravi ravi 0 Sep 14 15:17 file2
% ll 1 2
-rw-r--r-- 1 ravi ravi 0 Sep 14 15:17 [1]  file1
-rw-r--r-- 1 ravi ravi 0 Sep 14 15:17 [2]  file2
% echo $e1
/home/ravi/code/scm_breeze/x/2/1:
% echo $e2
/home/ravi/code/scm_breeze/x/2/file1
%
HaleTom commented 5 years ago

Related to #265 but easier to fix. (Famous last words)

HaleTom commented 5 years ago

This issue is resolved by #263 and can be closed when that PR is merged.