Some ergonomic changes

This commit is contained in:
Frank Villaro-Dixon 2013-09-15 01:20:00 +02:00
parent 098bb793ff
commit c01e8b69a6
2 changed files with 24 additions and 6 deletions

18
bashrc
View file

@ -119,6 +119,7 @@ alias shm='cd /dev/shm'
alias ip6='ip -6'
alias disk-usage-analyser='baobab'
alias op='xdg-open'
alias o='octave'
alias cdu='cdu -idh'
alias dus='du -sh * | sort -h'
@ -207,6 +208,23 @@ extract()
return $e
}
# }}}
## FIXME TO IMPROVE WITH VARIOUS locations (ex: ro 1; ro 2; ro 3)
ro()
{ # {{{
if [ -n "$my_root_set" ]; then
cd $my_root_set;
else
echo "root not set ! set it with roset !";
fi;
} # }}}
roset()
{ # {{{
my_root_set="`pwd`";
} # }}}
# }}}
SSHAGENT=/usr/bin/ssh-agent