1
0
Fork 0

use vim instead of neovim

This commit is contained in:
Pratham Patel 2023-03-12 16:31:23 +05:30
parent 19d7c19820
commit a907ef302f
1 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@
################################################################################ ################################################################################
# for visudo # for visudo
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/vim
# setup sudo access for pratham # setup sudo access for pratham
/usr/bin/sudo -l -U pratham > /dev/null /usr/bin/sudo -l -U pratham > /dev/null
@ -83,8 +83,7 @@ else
fi fi
# set the hostname in ssh config
# set the hostname
if [[ $EDIT_SSH_CONF == true ]]; then if [[ $EDIT_SSH_CONF == true ]]; then
tput -x clear tput -x clear
cat <<EOF > $HOME/.ssh/config cat <<EOF > $HOME/.ssh/config
@ -96,7 +95,7 @@ Host git.thefossguy.com
EOF EOF
cat $HOME/.ssh/gitea.pub cat $HOME/.ssh/gitea.pub
echo -e "\n\n\n\nPopulate Hostname (IP addr) for \"git.thefossguy.com\" in ~/.ssh/config" echo -e "\n\n\n\nPopulate Hostname (IP addr) for \"git.thefossguy.com\" in ~/.ssh/config"
nvim ~/.ssh/config vim ~/.ssh/config
fi fi