better list for atlas

This commit is contained in:
Nathan Stilwell 2016-09-08 10:23:17 -04:00
commit 3cfcd5c3e2

View file

@ -56,7 +56,7 @@ function atlas_show {
function atlas_list { function atlas_list {
if [ -d "/Users/nstilwell/.hosts" ] && [ -e "/Users/nstilwell/.hosts/$1" ]; then if [ -d "/Users/nstilwell/.hosts" ] && [ -e "/Users/nstilwell/.hosts/$1" ]; then
ls ~/.hosts; ls -F ~/.hosts | grep -v /$;
else else
echo "Atlas not initialized"; echo "Atlas not initialized";
atlas_usage; atlas_usage;