Add a which_readlink function
This commit is contained in:
parent
cc49b15041
commit
4af3878646
@ -437,3 +437,7 @@ function edit_script {
|
|||||||
function in_git_directory {
|
function in_git_directory {
|
||||||
[ -d .git ]
|
[ -d .git ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function which_readlink {
|
||||||
|
readlink -f $(which $1)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user