aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index c765041..a32ee7c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -106,7 +106,7 @@ alias tidy='tidy -config $HOME/.config/tidy.conf'
alias units='units --history "$XDG_CACHE_HOME"/units_history'
# nix helpers
-nix-which() { readlink "$(type -P "$1")"; }
+nix-which() { readlink --canonicalize "$(type -P "$1")"; }
# lxc helpers
lxc-copy() { A=$1 && B=$2 && shift 2 && $(type -P lxc-copy) --allowrunning --name "$A" -N "$B" "$@"; }