fuzzel-pass 0.1.2

A password-store frontend for auto-typing passwords
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

_LINEC=0

while read line; do
  _LINEV+=("${line}")
  _LINEC=$((${_LINEC} + 1))
done

if [ ${_LINEC} -eq 0 ]; then
  exit 2
fi

_LAST=$((${_LINEC} - 1))

echo "${_LINEV[${_LAST}]}"