.bashrc

if [ ! $SSH_TTY ] && [ ! $WINDOW ]; then
  SCREENLIST=`screen -ls | grep 'Att'`
  if (( ! $? )); then
    echo -e "Screen running and attached:\n ${SCREENLIST}"
  else
    screen -U -R
  fi
fi

alias ll='ls -l'
alias la='ls -A'
alias l='ls'
lg(){
    ls | grep $1
}
export TERM=xterm

loc(){
   locate $1
}

fea(){ 
   for i in $(ls $1);
      do $2 $i ; 
   done; 
}

Leave a Reply