fix
This commit is contained in:
		
							
								
								
									
										4
									
								
								at.zsh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								at.zsh
									
									
									
									
									
								
							@@ -4,6 +4,7 @@ help=(
 | 
			
		||||
	at.zsh d handle
 | 
			
		||||
	at.zsh u at-uri
 | 
			
		||||
	at.zsh c at-uri -r
 | 
			
		||||
	at.zsh docs
 | 
			
		||||
)
 | 
			
		||||
host=(
 | 
			
		||||
	bsky.social
 | 
			
		||||
@@ -20,6 +21,7 @@ lexicon=(
 | 
			
		||||
function at-env(){
 | 
			
		||||
	host=bsky.social
 | 
			
		||||
	at_uri=at://did:plc:4hqjfn7m6n5hno3doamuhgef/ai.syui.game.user/syui
 | 
			
		||||
	docs_uri=https://docs.bsky.app/docs/api
 | 
			
		||||
	handle=yui.syui.ai
 | 
			
		||||
	did=`echo $at_uri|cut -d / -f 3`
 | 
			
		||||
	collection=`echo $at_uri|cut -d / -f 4`
 | 
			
		||||
@@ -66,7 +68,7 @@ function at-collection-search(){
 | 
			
		||||
function at-docs(){
 | 
			
		||||
for i in $lexicon; do
 | 
			
		||||
	req=`echo $i|tr '.' '-'|sed 's/[A-Z]/-&/g'|tr '[A-Z]' '[a-z]'`
 | 
			
		||||
	url=https://docs.bsky.app/docs/api/$req
 | 
			
		||||
	url=$docs_uri/$req
 | 
			
		||||
	echo $url
 | 
			
		||||
done
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user