summaryrefslogtreecommitdiffstats
path: root/src/vfs/fish/helpers/ln
blob: a8445d875ecc6d3e1faab37fdd87c867c9660e61 (plain)
1
2
3
4
5
6
7
8
#SYMLINK $FISH_FILEFROM $FISH_FILETO
FILEFROM="${FISH_FILEFROM}"
FILETO="/${FISH_FILETO}"
if ln -s "${FILEFROM}" "${FILETO}" 2>/dev/null; then
   echo "### 000"
else
   echo "### 500"
fi