diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index a3debf2c..de430703 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -437,3 +437,7 @@ function edit_script { function in_git_directory { [ -d .git ] } + +function which_readlink { + readlink -f $(which $1) +}