pull/2/head
Bodaniel Jeanes 2008-08-15 10:57:27 +10:00
parent 1996198dce
commit d956c93526
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ alias show='cat ~/.dirs'
save (){ save (){
command sed "/!$/d" ~/.dirs > ~/.dirs1; \mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs; source ~/.dirs ; command sed "/!$/d" ~/.dirs > ~/.dirs1; \mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs; source ~/.dirs ;
} }
source ~/.dirs # Initialization for the above 'save' facility: source the .sdirs file source ~/.dirs # Initialization for the above 'save' facility: source the .dirs file
shopt -s cdable_vars # set the bash option so that no '$' is required when using the above facility shopt -s cdable_vars # set the bash option so that no '$' is required when using the above facility
# history (bigger size, no duplicates, always append): # history (bigger size, no duplicates, always append):