Skip to content

Commit

Permalink
[update]small changed
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkenpa198 committed Mar 7, 2024
1 parent c6f5a4e commit c6703ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup/ubuntu/link.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ function link_wsl {
# WSL
if uname -r | grep -i 'microsoft' > /dev/null ; then
# Notes
if [ -n "$USER" ]; then
mkdir -p /mnt/c/Users/"$USER"/works/notes
ln -sfn /mnt/c/Users/"$USER"/works/notes ~/works/notes
if [ -d "/mnt/c/Users/$USER" ]; then
mkdir -p "/mnt/c/Users/$USER/works/notes"
ln -sfn "/mnt/c/Users/$USER/works/notes" ~/works/notes
fi
fi
;;
Expand Down

0 comments on commit c6703ad

Please sign in to comment.