\d does not work on some grep dist
This commit is contained in:
		@@ -181,7 +181,7 @@ function rbash-list {
 | 
			
		||||
    echo "Available sources:"
 | 
			
		||||
	local _k
 | 
			
		||||
    for i in `__download "$RBASH_REMOTE/api/v1/repos/$RBASH_REPO/contents/$RBASH_PATH/sources/" | jq -r '.[].name'`; do
 | 
			
		||||
		_k=`echo -n $i | grep -o "^\d\+"`
 | 
			
		||||
		_k=`echo -n $i | grep -o "^[0-9]\+"`
 | 
			
		||||
		_RBASH_DICT["s$_k"]=$i
 | 
			
		||||
        grep -q -e "^rbash_load \"sources/$i\"\$" "$RBASH_CONFIG"
 | 
			
		||||
        if [ $? -eq 0 ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user