nice little feature bash
This commit is contained in:
parent
91eaf103ca
commit
d05fd7529e
1 changed files with 12 additions and 0 deletions
12
bashrc
12
bashrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue