Added the ability to have spaces in password names
This commit is contained in:
		
							parent
							
								
									257086fc08
								
							
						
					
					
						commit
						225b0f7e4e
					
				|  | @ -2,7 +2,7 @@ | ||||||
| 
 | 
 | ||||||
| folder="$(ls ~/.password-store/ | sed -e 's/\.gpg$//' | fuzzel -d -i)" | folder="$(ls ~/.password-store/ | sed -e 's/\.gpg$//' | fuzzel -d -i)" | ||||||
| 
 | 
 | ||||||
| if [ -z $folder ]; | if [ -z "$folder" ]; | ||||||
| then | then | ||||||
|     exit |     exit | ||||||
| else | else | ||||||
|  | @ -11,7 +11,7 @@ fi | ||||||
| 
 | 
 | ||||||
| choice="$(ls ~/.password-store/$folder | sed -e 's/\.gpg$//' | fuzzel -d -i)" | choice="$(ls ~/.password-store/$folder | sed -e 's/\.gpg$//' | fuzzel -d -i)" | ||||||
| 
 | 
 | ||||||
| if [ -z $choice ]; | if [ -z "$choice" ]; | ||||||
| then | then | ||||||
|     exit |     exit | ||||||
| else | else | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue