forked from colonelpanic/dotfiles
Add in_git_directory to function.sh
This commit is contained in:
@@ -433,3 +433,7 @@ function set_default_prompt {
|
||||
function edit_script {
|
||||
$EDITOR "$(which $1)"
|
||||
}
|
||||
|
||||
function in_git_directory {
|
||||
[ -d .git ]
|
||||
}
|
||||
|
Reference in New Issue
Block a user