use vim instead of neovim
This commit is contained in:
parent
19d7c19820
commit
a907ef302f
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue