edit_script function

This commit is contained in:
Ivan Malison 2016-06-19 02:05:14 -07:00
parent 61bc58a5f1
commit fba3feb8fb

View File

@ -429,3 +429,7 @@ function python_module_exists {
function set_default_prompt { function set_default_prompt {
python_module_exists powerline && set_powerline_prompt || set_my_prompt python_module_exists powerline && set_powerline_prompt || set_my_prompt
} }
function edit_script {
$EDITOR "$(which $1)"
}