bashrc, change functions to have underscore names.
This commit is contained in:
@@ -694,7 +694,7 @@
|
|||||||
nomadic-weather.wiki main
|
nomadic-weather.wiki main
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
function code-seed {
|
function code_seed {
|
||||||
# Git repo information.
|
# Git repo information.
|
||||||
git_repo_ssh={{ git_repo_ssh }}
|
git_repo_ssh={{ git_repo_ssh }}
|
||||||
git_main_project={{ git_project }}
|
git_main_project={{ git_project }}
|
||||||
@@ -721,15 +721,17 @@
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
function code-reseed {
|
alias code-seed="code_seed "
|
||||||
|
function code_reseed {
|
||||||
# Unseed current projects.
|
# Unseed current projects.
|
||||||
echo -e "\n*** Move old projects to TRASH ***"
|
echo -e "\n*** Move old projects to TRASH ***"
|
||||||
unseed_dir="$HOME/TRASH/`date +%Y%m%d_%H%M%S`_UnseededCodeProjects"
|
unseed_dir="$HOME/TRASH/`date +%Y%m%d_%H%M%S`_UnseededCodeProjects"
|
||||||
mkdir -pv "$unseed_dir"
|
mkdir -pv "$unseed_dir"
|
||||||
mv -v $HOME/Code/* "$unseed_dir"/ 2>/dev/null
|
mv -v $HOME/Code/* "$unseed_dir"/ 2>/dev/null
|
||||||
|
|
||||||
code-seed
|
code_seed
|
||||||
}
|
}
|
||||||
|
alias code-reseed="code_reseed "
|
||||||
function_clean_filenames: |
|
function_clean_filenames: |
|
||||||
function clean-filenames() {
|
function clean-filenames() {
|
||||||
# Must provide the directory you'd like to clean all the filenames in.
|
# Must provide the directory you'd like to clean all the filenames in.
|
||||||
|
|||||||
Reference in New Issue
Block a user