summaryrefslogtreecommitdiff
path: root/.config/bash/rc.d/10_aliases.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/bash/rc.d/10_aliases.sh')
-rw-r--r--.config/bash/rc.d/10_aliases.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/rc.d/10_aliases.sh b/.config/bash/rc.d/10_aliases.sh
index de30c91..da214e9 100644
--- a/.config/bash/rc.d/10_aliases.sh
+++ b/.config/bash/rc.d/10_aliases.sh
@@ -129,7 +129,7 @@ _cpln() {
return 1
fi
if [[ -d "$dst" ]]; then
- link="$dst/${1##*/}"
+ link="$dst/${src##*/}"
else
link="$dst"
fi