navi/alfred/alfred2.bash
2020-07-10 10:10:38 -03:00

10 lines
186 B
Bash
Executable file

#!/bin/bash
source "${HOME}/.bashrc"
export PATH="/usr/local/bin:$PATH"
if [ -n "${varname:-}" ]; then
echo -n "$(navi alfred transform)" | tr -d '\n'
else
echo -n "$snippet"
fi