Newer
Older
# Use ksshaskpass if it exists and we're using the plasma desktop
if [[ "$DESKTOP_SESSION" =~ "plasma" ]]
then
if [ -x /usr/bin/ksshaskpass ]
then
# Use KDE askpass
export SSH_ASKPASS=/usr/bin/ksshaskpass
echo "A-Z-S: Using ksshaskpass"
echo "A-Z-S: NOTICE - You're using the plasma desktop, but you don't have ksshaskpass installed?"