nice little feature bash

This commit is contained in:
Frank Villaro-Dixon 2014-04-01 23:06:21 +02:00
parent 91eaf103ca
commit d05fd7529e

12
bashrc
View file

@ -533,6 +533,18 @@ function cons_set
pwd > $CONS_ROOT_DIRECTORY/$TTYNO
}
#cttc: Copy To my Tty Cwd
# cttc TTY_NO FILE
function cttc
{
if [ $# -eq 2 ]; then
cwd=`cat $CONS_ROOT_DIRECTORY/$1`
cp "$2" "$cwd"
else
echo "cons to see terminals"
fi
}
# }}}
SSHAGENT=/usr/bin/ssh-agent