Commit Graph

4 Commits

Author SHA1 Message Date
Zdenek Dohnal
4e95433cde vim.sh, vim.csh, vim.fish - drop 'which', use 'command' 2020-10-19 09:48:46 +02:00
Zdenek Dohnal
17062c8b2d vim.sh, vim.csh - set aliases only for OS default vi and vim
Do not set them for locally built vi/vim or replace existing aliases.
2020-10-15 13:45:53 +02:00
Zane Bitter
662d92a10a Alias view to "vim -R" when available
We already alias "vi" to "vim" when the vim-enhanced package is
installed. However, /usr/bin/view is a symlink to vi, which results in
inconsistent behavior between the two - the "vi" command runs in vim
mode, but the "view" command runs in vi mode. Alias "view" to "vim -R"
when vim-enhanced is available so that these are consistent.
2020-07-31 14:45:17 -04:00
Karsten Hopp
82a60bffab sh profile.d improvements: don't leak 2416, don't fail on nounset 2016-05-24 13:08:15 +02:00