From 864d3ef4f4a62f4b7abe7d0f7a92d17a2c9f884d Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Tue, 26 May 2020 15:27:37 +0200 Subject: [PATCH] updated stuff --- bin/dotupdate | 15 +++++++++++++++ copy/sshconfig | 8 ++++---- zsh/plgs/aliases.zsh | 12 ------------ 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 bin/dotupdate diff --git a/bin/dotupdate b/bin/dotupdate new file mode 100644 index 0000000..60e4df4 --- /dev/null +++ b/bin/dotupdate @@ -0,0 +1,15 @@ +#!/bin/bash + +dotupdate () { + pushd ~/.config/dotfiles &>/dev/null + echo "Updating Dotfiles" + git pull + popd &>/dev/null + + pushd ~/.config/p10k &>/dev/null + echo "Updating P10K" + git pull + popd &>/dev/null +} + +dotupdate diff --git a/copy/sshconfig b/copy/sshconfig index 56c6d33..e9d101a 100644 --- a/copy/sshconfig +++ b/copy/sshconfig @@ -1,6 +1,6 @@ +Host * + ServerAliveInterval 300 + ServerAliveCountMax 2 + Host web ForwardX11 yes - HostName megumi.eeleater.org - -Host mail - HostName mail.eeleater.org diff --git a/zsh/plgs/aliases.zsh b/zsh/plgs/aliases.zsh index 8bb3949..a8b76a4 100644 --- a/zsh/plgs/aliases.zsh +++ b/zsh/plgs/aliases.zsh @@ -12,15 +12,3 @@ alias ff='find . -type f -name' alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' - -dotupdate () { - pushd ~/.config/dotfiles &>/dev/null - echo "Updating Dotfiles" - git pull - popd &>/dev/null - - pushd ~/.config/p10k &>/dev/null - echo "Updating P10K" - git pull - popd &>/dev/null -}