back function bashrc
This commit is contained in:
parent
6f14733d9f
commit
4a03cf20dd
5
bashrc
5
bashrc
|
@ -173,6 +173,7 @@ function fuck {
|
|||
|
||||
function cd #{{{
|
||||
{
|
||||
MY_LAST=`pwd`
|
||||
if [ $# -eq 0 ]; then
|
||||
builtin cd ~ && cons_set > /dev/null && ls
|
||||
else
|
||||
|
@ -181,6 +182,10 @@ function cd #{{{
|
|||
}
|
||||
#}}}
|
||||
|
||||
function back {
|
||||
cd $MY_LAST
|
||||
}
|
||||
|
||||
function pdfsearch #{{{
|
||||
{
|
||||
for pdf in `find ./ -name "*.pdf"`; do
|
||||
|
|
Loading…
Reference in a new issue