Show alias/function from shell in rsl

parent 969d4afa
Pipeline #155670451 passed with stage
in 2 minutes and 56 seconds
......@@ -6,7 +6,7 @@ function rsl() {
fp="$($(command -v which) "$1")"
[ -L "$fp" ] && { readlink "$fp"; return 0; }
[ -f "$fp" ] && { echo "$fp"; return 0; }
return 1
type "$1"
}
# `git log` for a Nix-package
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment