Skip to content

Commit

Permalink
fix gen_nvim_init
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Oct 19, 2024
1 parent 19cc8fc commit f5756e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ gen_nvim_init () {
local d="\${HOME}/.config/nvim"
command -v nvim &>/dev/null || return 1
[ -f "\$EXRC" ] || return 1
[ ! -f "\${d}/init.vim" ] || return 1
[ ! -d "\$d" ] || mkdir -p "\$d"
[ -f "\${d}/init.vim" ] || return 1
[ -d "\$d" ] || mkdir -p "\$d"
ln -s "\$EXRC" "\${d}/init.vim"
}
Expand Down

0 comments on commit f5756e9

Please sign in to comment.