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 -}