Added vim, fixed ssh and git config

This commit is contained in:
Jan Christian Grünhage 2016-09-02 14:52:12 +02:00
parent 85b694006c
commit 36e7b3e4e9
No known key found for this signature in database
GPG Key ID: 62BEE5EB8F370DC6
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ function config_git {
read name
echo -n "Enter your email address (git):"
read mail
git config --global user.name $name
git config --global user.name "$name"
git config --global user.email $mail
git config --global gpg.program gpg2
git config --global commit.gpgsign true
@ -16,7 +16,7 @@ function install_software {
sudo dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm https://prerelease.keybase.io/keybase_amd64.rpm
sudo dnf copr enable -y decathorpe/syncthing #Syncthing
sudo dnf copr enable -y region51/chrome-gnome-shell #Makes the gnome extension site function in Chrome
sudo dnf install -y vlc ffmpeg hexchat menulibre htop shutter deluge syncthing* chrome-gnome-shell gnome-tweak-tool heimdall latexila texlive-scheme-full gnupg gnupg2 pass yubi* gimp digikam java-1.8.0-openjdk-devel golang compat-libstdc++-296.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 ncurses-libs.i686 --best --allowerasing
sudo dnf install -y vlc ffmpeg hexchat menulibre htop shutter deluge syncthing* chrome-gnome-shell gnome-tweak-tool heimdall vim latexila texlive-scheme-full gnupg gnupg2 pass yubi* gimp digikam java-1.8.0-openjdk-devel golang compat-libstdc++-296.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 ncurses-libs.i686 --best --allowerasing
sudo dnf upgrade -y
}
function config_ssh {
@ -26,7 +26,7 @@ function config_ssh {
read hostname
DATE=`date +%Y%m%d`
comment="$DATE - $application - $hostname"
#ssh-keygen -b 8192 -t rsa -C "$comment" -f ~/.ssh/id_rsa
ssh-keygen -b 8192 -t rsa -C "$comment" -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
echo "Insert this SSH key into gogs before you continue."
pause