On 18/12/2023 20:42, Lee via Cygwin wrote:
tl,dr: Did vi/vim change from /etc/alternatives to an alias?
$ ls -l $(which vi) $(which vim)
-rwxr-xr-x 1 root Administrators 1507859 Dec 12 09:07 /usr/bin/vi.exe
-rwxr-xr-x 1 root Administrators 3565587 Dec 12 09:07 /usr/bin/vim.exe
they are two d
and /etc/profile.d/vim.sh has this bit:
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
# for bash and zsh, only if no alias is already set
alias vi >/dev/null 2>&1 || alias vi=vim
fi
someone needs to be smacked good and hard for that.
--
Problem reports: ht
tl,dr: Did vi/vim change from /etc/alternatives to an alias?
$ ls -l $(which vi) $(which vim)
-rwxr-xr-x 1 root Administrators 1507859 Dec 12 09:07 /usr/bin/vi.exe
-rwxr-xr-x 1 root Administrators 3565587 Dec 12 09:07 /usr/bin/vim.exe
$ alias vi
alias vi='vim'
On Sat, Dec 16, 2023 at 3:11 PM J
I just updated vim packages (including vim-minimal and vim-common) to 9.0.2155-1
Now when I run 'vi', I get this:
Error detected while processing /usr/share/vim/vim90/filetype.vim:
line 11:
E319: Sorry, the command is not available in this version: let
did_load_filetypes = 1
line 14:
E319: S
4 matches
Mail list logo