1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

hard code terminal for noow

This commit is contained in:
Ryan Kes 2020-02-19 14:47:52 +01:00
parent b47e866a93
commit 454069accd

View File

@ -11,8 +11,8 @@ mapfile -t params < <(echo "$ssh_host" | awk -F ":" '{print $1} {if ($2) print $
if [ -n "$ssh_host" ]; then
# If array size is two then second parameter is port number
if [ ${#params[@]} -eq 2 ]; then
$TERMINAL -e ssh "${params[0]}" -p "${params[1]}"
alacritty -e ssh "${params[0]}" -p "${params[1]}"
else
$TERMINAL -e ssh "${params[0]}"
alacritty -e ssh "${params[0]}"
fi
fi