Add a which_readlink function

This commit is contained in:
Ivan Malison 2016-08-04 15:10:24 -07:00
parent cc49b15041
commit 4af3878646
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -437,3 +437,7 @@ function edit_script {
function in_git_directory {
[ -d .git ]
}
function which_readlink {
readlink -f $(which $1)
}