Add a which_readlink function

This commit is contained in:
2016-08-04 15:10:24 -07:00
parent cc49b15041
commit 4af3878646

View File

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