andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.1k stars 147 forks source link

Fix ls aliasing #211

Closed iomartin closed 2 years ago

iomartin commented 2 years ago

Doing a "homeshick ls" would throw an error like this:

/home/martin/.homesick/repos/homeshick/bin/homeshick: line 163: /home/martin/.homesick/repos/homeshick/lib/commands/ls.sh: No such file or directory
/home/martin/.homesick/repos/homeshick/bin/homeshick: line 167: list: command not found

"ls" is an alias to "list". Follow what is done for the other aliases and just source the right command explicitly.

Fixes: 387df51b6314 (Alias "ls" to "list" command)