sensible-terminal
This commit is contained in:
parent
ce77f97011
commit
cf08990f6d
@ -1,7 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
if [ "$1" = "-e" ]; then
|
||||
shift # Remove the first argument (-e) from the argument list
|
||||
command_args="$*"
|
||||
/sbin/xfce4-terminal -e "$command_args"
|
||||
elif [ -z "$1" ]; then
|
||||
/sbin/xfce4-terminal
|
||||
else
|
||||
/sbin/xfce4-terminal -e "ssh $1"
|
||||
fi
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
/sbin/xfce4-terminal -e "ssh $1"
|
Loading…
x
Reference in New Issue
Block a user